University of Alaska Fairbanks
Geophysical Institute

Beyond the Mouse - The geoscientist's computational chest.

8. GMT I -- mapping and plotting data

"Programming is legitimate and necessary academic endeavor."
Donald E. Knuth

Here we introduce you to the Generic Mapping Tools (GMT) which create postscript files of maps with your data on them. GMT is a collection of Unix programs each of which does a fills a different need in the task of creating a neat looking (and scalable, after all it's postscript) map. Those tools are best orchestrated in Shell scripts. They gain their power from many command line options that sometimes seem a little odd. To get rid off overwhelmed panic when starting GMT we got this lecture, right?

Lecture

GMT I, mapping and plotting

Examples

Here is a script from the lecture: plotindexmap.

Exercises:

Write a script to plot some data on a map.

Write a second script to do an x, y plot of the same data. (Suggestion for this task: use awk to scale or select column data for your plots to plot some data on a map).

ronni <at> gi <dot> alaska <dot> edu | last changed: Oct 01, 2009