next up previous contents index
Next: 1.6.5 The -K -O Up: 1.6 GMT Common Command Previous: 1.6.3 The -H option   Contents   Index

1.6.4 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 $lon_0/lat_0/width$. The $lon_0/lat_0$ specifies the projection center.

Albers conic:
-–JB $lon_0/lat_0/lat_1/lat_2/width$. Give projection center and two standard parallels.

Eckert IV and VI:
-–JK[f$\vert$s]$lon_0/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 360$^{o}$ periodicity and degree-symbols in annotations.

  2. -–JXwidthl--Take log$_{10}$ 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: 1.6.5 The -K -O Up: 1.6 GMT Common Command Previous: 1.6.3 The -H option   Contents   Index
Paul Wessel 2001-04-18