next up previous contents index
Next: The -K -O options Up: GMT Common Command Line Previous: The -H option

The -J? options

   


  
Figure 1.9: The 25 projections available in GMT
\begin{figure}\centering\epsfig{figure=eps/GMT_-J.eps}\end{figure}

Selects the map projection. The following code (?) determines the projection. Specify map width (or axis lengths) in the unit of your choice. The projections avaiable in GMT are presented in Figure 1.9. For this tutorial we will choose one of the following projections (for details on all GMT projections see the psbasemap  man page):

Mercator:
-–JMwidth.    

Orthographic:
-–JG lon0/lat0/width. The lon0/lat0 specifies the projection center.    

Albers conic:
-–JB lon0/lat0/lat1/lat2/width. Give projection center and two standard parallels.    

Eckert IV and VI:
-–JK[f|s] lon0/width. Give the central meridian.    

Linear:
-–JX width/height. Give width [and height] of plot. width [and/or height] can be given in any of the following 3 formats:    

1.
-–JXwidth[d]--Regular linear scaling. Append 'd' if x and y are geographical coordinates in degrees; this allows for 360o periodicity and degree-symbols in annotations.

2.
-–JXwidthl--Take log10 of values before scaling.

3.
-–JXwidthppower--Raise values to power before scaling.

Use negative width [and height] to reverse the direction of an axis (e.g., to have y be positive down).


next up previous contents index
Next: The -K -O options Up: GMT Common Command Line Previous: The -H option
Paul Wessel
1999-12-03