❗ Note: automated script downloadable at the bottom of this post!
Something you always want to do on a computer, even if only once, is to check its hardware specifications, that is:
- how much RAM do I have?
- how much hard disk space do I have?
- how “fast” is my CPU?
- how much RAM does my graphics card have?
Of course most modern GNU/Linux desktop environments like Ubuntu usually come with some kind of graphical tool to find this information. GNOME’s System Monitor program should provide at least some of what you’re looking for. The information here is more for when you’re staring at a blinking cursor on a black screen trying to remember what the command was to show information about the CPU, RAM or Graphics Card.
This is the third time I’ve had to go on an internet search quest to remind myself how to do this in a Linux terminal. To save myself the trouble in the future, I’m writing down the commands here and if anyone else finds it useful then that’s great, and a second bird is figuratively killed!
My brother’s doing his International Baccalaureate Diploma right now and for one of his Geography assignments he had to make these graphs -cross sections of rivers- he called them geographs because… they’re for geography and because it has fewer words, so that’s what I’ll call them here. He drew them by hand but they got smudged and I thought it would be nice if he could make them digitally, but that’s a lot of work. I then thought it would be good if there was an easy way to do this, and, having found one, I’ve decided to share it with the world so that other IB students can benefit from this too!
What is a GeoGraph?
It’s a bunch of points on a graph that shows the depth at different points of a river the class studies.
A graph looks like this one:
And as I understand, it works like this:
- there is one graph for each transect measured at different points on the river
- the width of the transect is shown
- the width of the graph is scaled to the width of the transect
- the depth of the river is shown for different points along these transects
- the depth is measured at 5 points along the transect:
- at the start of the transect
- at the end of the transect
- halfway between the start and the end
- halfway between the midpoint and the start
- halfway between the midpoint and the end
- the depth is measured as a negative number
- because depth is negative the graph is drawn below the x-axis
- the graph is shown as an irregular polygon connecting all points on the graph
- there is a line along the bottom of the polygon connecting the first and last points
- this line is as low as the lowest point on the graph
That’s a lot of points to consider, and it’s why this graph is not easily done using the graphing functions of your spreadsheet application (for most of you that’s probably MS Excel). A lot of people might get frustrated, or resort to just drawing it in Paint or some other simple drawing program, which is much too much work! Don’t worry there’s a much easier way of doing it, and it’s all described below. Continue reading