GMT Tutorial


GMT is an open source collection of ~65 tools for manipulating geographic and Cartesian data sets (including filtering, trend fitting, gridding, projecting, etc.) and producing Encapsulated PostScript File (EPS) illustrations ranging from simple x-y plots via contour maps to artificially illuminated surfaces and 3-D perspective views; the GMT supplements add another ~70 more specialized tools. GMT supports over 30 map projections and transformations and comes with support data such as GSHHS coastlines, rivers, and political boundaries. This tutorial guides you through using GMT to make a simple location map. The locations come from a simple seismic experiment deployed near the PASSCAL Instrument center during the IRIS Internship Orientation. A final script is included with generous comments.




90 - 120 Minutes


By the end of this session, students should be able to:

  • Create simple tcsh scripts
  • Create presentation quality location maps
  • Overlay various plots to create informative figures


Supporting Resources

Lab instructions and GMT and TCSH shell scripting tutorial (.doc, 1.3 MB)
Slideshow associated with the lab (.ppt, 28MB)
Supporting files for the lab (.zip, 1MB)
GMT software is required for this activity. Download GMT for free


Rob Porritt, PhD student, University of California, Berkeley (rob "at"