Geography Reference
In-Depth Information
Figure 11.1: Hemisphere view of Earth created with GMT
A Simple GMT Example
To get started, let's take a look at how to generate a simple globe like
that shown in Figure 11.1 . The code is pretty simple, although it's a bit
arcane at first glance:
Download gmt_simple_world.sh
pscoast -JA0/20/4.5i -Bg30/g15 -Dl -A2000 -G187/142/46 -S109/202/255 \
-R0/360/-90/90 -P -N1 > simple_hemi.eps
Let's examine the switches used to generate the image. First, GMT's
pscoast command requires information about the coordinate system
you want to use. This is specified by using the -J switch. GMT supports
a nice selection of coordinate systems including the following:
• Albers Conic Equal Area
• Lambert Conic Conformal
• Equidistant Conic
 
 
 
Search WWH ::




Custom Search