psbasemap 4.0 - To plot PostScript basemaps

usage: psbasemap -B -J -R [-Eaz/el] [-G]
[-K] [-L[f][x]/[/]//[m|n|k][:label:][+p][+f]]
[-O] [-P] [-T[f|m][x]//[/][:w,e,s,n:][+[/]]] [-U[dx/dy/][label]] [-V]
[-X] [-Y] [-Z] [-c]

-B specifies Basemap frame info. is a textstring made up of one or
more substrings of the form [t][+-][], where the (optional) [t] is the
axis item type, is the spacing between ticks or annotations, the (optional)
specifies phase-shifted annoations by that amount, and the (optional)
specifies the unit [Default is unit implied in -R]. There can be
no spaces between the substrings - just append to make one very long string.
-B[p] means (p)rimary annotations; use -Bs to specify (s)econdary annotations.
Three axis item types exist:
a: tick annotation stride.
f: frame tick stride.
g: grid line stride.
The optional [] modifies the value accordingly. For maps, you may use
m: arc minutes [Default unit is degree].
c: arc seconds.
For time axes, several units are recognized:
Y: year - plot using all 4 digits.
y: year - plot only last 2 digits.
O: month - format annotation according to PLOT_DATE_FORMAT.
o: month - plot as 2-digit integer (1-12).
U: ISO week - format annotation according to PLOT_DATE_FORMAT.
u: ISO week - plot as 2-digit integer (1-53).
r: Gregorian week - 7-day stride from chosen start of week (Sunday).
K: ISO weekday - format annotation according to PLOT_DATE_FORMAT.
k: weekday - plot name of weekdays in selected language [us].
D: day - format annotation according to PLOT_DATE_FORMAT, which also determines whether
we should plot day of month (1-31) or day of year (1-366).
d: day - plot as 2- (day of month) or 3- (day of year) integer.
R: Same as d but annotates from start of Gregorian week.
H: hour - format annotation according to PLOT_CLOCK_FORMAT.
h: hour - plot as 2-digit integer (0-23).
M: minute - format annotation according to PLOT_CLOCK_FORMAT.
m: minute - plot as 2-digit integer (0-59).
C: second - format annotation according to PLOT_CLOCK_FORMAT.
c: second - plot as 2-digit integer (0-59; 60-61 if leap seconds are enabled).
Specify an axis label by surrounding it with colons (e.g., :"my x label":).
To prepend a prefix to each annotation (e.g., $ 10, $ 20 ...) add a prefix that begins
with the equal-sign (=); the rest is used as annotation prefix (e.g. :='$':). If the prefix has
a leading hyphen (-) there will be no space between prefix and annotation (e.g., :=-'$':).
To append a unit to each annotation (e.g., 5 km, 10 km ...) add a label that begins
with a comma; the rest is used as unit annotation (e.g. :",km":). If the unit has
a leading hyphen (-) there will be no space between unit and annotation (e.g., :,-%:).
For separate x and y [and z if -Jz is used] tickinfo, separate the strings with slashes [/].
Specify an plot title by adding a label whose first character is a period; the rest
of the label is used as the title (e.g. :".My Plot Title":).
Append any combination of W, E, S, N, Z to annotate those axes only [Default is WESNZ (all)].
Use lower case w, e, s, n, z to draw & tick but not to annotate those axes.
Z+ will also draw a 3-D box .
Log10 axis: Append l to annotate log10 (x) or p for 10^(log10(x)) [Default annotates x].
Power axis: append p to annotate x at equidistant pow increments [Default is nonlinear].
See psbasemap man pages for more details and examples of all settings.
-J Selects the map proJection system. ( is in cm)
Append h for map height, + for max map dimension, and - for min map dimension.
Azimuthal projections set -Rg unless polar aspect or -R<...>r is given.

-Ja// OR -JA// (Lambert Azimuthal Equal Area)
lon0/lat0 is the center or the projection.
Scale is either <1:xxxx> or /, where distance
is in cm to the oblique parallel .
-Jb//// OR -JB//// (Albers Equal-Area Conic)
Give origin, 2 standard parallels, and true scale in cm/degree
-Jc/ OR -JC/ (Cassini)
Give central point and scale as 1:xxxx or cm/degree
-Jd//// OR -JD//// (Equidistant Conic)
Give origin, 2 standard parallels, and true scale in cm/degree
-Je// OR -JE// (Azimuthal Equidistant)
lon0/lat0 is the center or the projection.
Scale is either <1:xxxx> or /, where is distance
in cm to the oblique parallel .
-Jf/// OR -JF/// (Gnomonic)
lon0/lat0 is the center or the projection.
horizon is max distance from center of the projection (< 90).
Scale is either <1:xxxx> or /, where is distance
in cm to the oblique parallel .
-Jg// OR -JG// (Orthographic)
lon0/lat0 is the center or the projection.
Scale is either <1:xxxx> or /, where is distance
in cm to the oblique parallel .
-Jh/ OR -JH/ (Hammer-Aitoff)
Give central meridian and scale as 1:xxxx or cm/degree
-Ji/ OR -JI/ (Sinusoidal)
Give central meridian and scale as 1:xxxx or cm/degree
-Jj/ OR -JJ/ (Miller projection)
Give central meridian and scale as 1:xxxx or cm/degree
-Jk[f|s]/ OR -JK[f|s]/ (Eckert IV (f) or VI (s))
Give central meridian and scale as 1:xxxx or cm/degree
-Jl//// OR -JL//// (Lambert Conformal Conic)
Give origin, 2 standard parallels, and true scale in cm/degree
-Jm | -JM (Mercator). Specify one of two definitions:
-Jm OR -JM
Give true scale at Equator in cm/degree
-Jm// OR -JM//
Give true scale at parallel lat0 in cm/degree
-Jn/ OR -JN/ (Robinson projection)
Give central meridian and scale as 1:xxxx or cm/degree
-Jo | -JO (Oblique Mercator). Specify one of three definitions:
-Joa/// OR -JOa///
Give origin and azimuth of oblique equator
-Job//// OR -JOb////
Give origin and second point on oblique equator
-Joc//// OR -JOc////
Give origin and pole of projection
Scale is true scale at oblique equator in cm/degree
Specify region in oblique degrees OR use -R<>r
-Jq/ OR -JQ/ (Equidistant Cylindrical)
Give central meridian and scale as 1:xxxx or cm/degree
-Jr/ OR -JR/ (Winkel Tripel)
Give central meridian and scale as 1:xxxx or cm/degree
-Js// OR -JS// (Stereographic)
lon0/lat0 is the center or the projection.
Scale is either <1:xxxx> (true at pole) or /<1:xxxx> (true at )
or / (distance in cm to the [oblique] parallel .
-Jt | -JT (Transverse Mercator). Specify one of two definitions:
-Jt/ OR -JT/
Give central meridian and scale as 1:xxxx or cm/degree
-Jt// OR -JT//
Give lon/lat of origin, and scale as 1:xxxx or cm/degree
-Ju/ OR -JU/ (UTM)
Give zone (1-60, negative for S hemisphere) and scale as 1:xxxx or cm/degree
-Jv/ OR -JV/ (van der Grinten)
Give central meridian and scale as 1:xxxx or cm/degree
-Jw/ OR -JW/ (Mollweide)
Give central meridian and scale as 1:xxxx or cm/degree
-Jy// OR -JY// (Cylindrical Equal-area)
Give central meridian, standard parallel and scale as 1:xxxx or cm/degree
= 45 (Peters), 37.4 (Trystan Edwards), 30 (Behrmann), 0 (Lambert)
-Jp[a][/] OR -JP[a][/] (Polar (theta,radius))
Linear scaling for polar coordinates.
Optionally append 'a' to -Jp or -JP to use azimuths (CW from North) instead of directions (CCW from East) [default].
Give scale in cm/units
Optionally, append theta value for angular offset (base) [0]
-Jx OR -JX for non-map projections. Scale in cm/units (or 1:xxxx). Specify one:
-Jx Linear projection
-Jxl Log10 projection
-Jxp x^power projection
-Jxt Calendar time projection using relative time coordinates
-JxT Calendar time projection using absolute time coordinates
Use / to specify separate x/y scaling (e.g., -Jx0.5/0.3.). Not allowed with 1:xxxxx.
Append d if -R is geographic coordinates in degrees.
If -JX is used then give axes lengths rather than scales.
-R specifies the min/max coordinates of data region in user units.
Use dd:mm[:ss] format for regions given in degrees and minutes [and seconds].
Use [yyy[-mm[-dd]]]T[hh[:mm[:ss[.xxx]]]] format for time axes.
Append r if -R specifies the longitudes/latitudes of the lower left
and upper right corners of a rectangular area.
-Rg -Rd are accepted shorthands for -R0/360/-90/90 -R-180/180/-90/90

OPTIONS:
-E set azimuth and elevation of viewpoint for 3-D perspective [180/90]
-G fill inside of basemap with the specified fill
-K means allow for more plot code to be appended later [OFF].
-L draws a simple map scaLe centered on /. Use -Lx to specify Cartesian
coordinates instead. Scale is calculated at latitude ; optionally give longitude
[Default is central longitude]. is in km, or [nautical] miles if [n] m
is appended. -Lf draws a "fancy" scale [Default is plain]. By default, the label is set
to the distance unit and placed on top [t]. Use the :label: mechanism to specify another
label (or - to keep the default) and placement (t,b,l,r, and u - to use the label as a unit.
Append +p and/or +f to draw/paint a rectangle beneath the scale [no rectangle] -O means Overlay plot mode [OFF].
-P means Portrait page orientation [OFF].
-T draws a north-poinTing rose centered on /. Use -Tx to specify Cartesian
coordinates instead. -Tf draws a "fancy" rose [Default is plain]. Give rose diameter
and optionally the west, east, south, north labels desired [W,E,S,N].
For fancy rose, specify as the kind you want: 1 draws E-W, N-S directions [Default],
2 adds NW-SE and NE-SW, while 3 adds WNW-ESE, NNW-SSE, NNE-SSW, and ENE-WSW.
For Magnetic compass rose, specify -Tm. Use the optional = / (where is
the magnetic declination and is a label for the magnetic compass needle) to plot directions to both magnetic and geographic north [Default is just geographic].
If the North label = '*' then a north star is plotted instead of the label.
Append +/ to override default annotation/tick interval(s) [10/5/1/30/5/1].
-U to plot Unix System Time stamp [and optionally appended text].
You may also set the lower left corner position of stamp [-0.787402/-0.787402].
Give -Uc to have the command line plotted [OFF].
-V Run in verbose mode [OFF].
-X -Y to shift origin of plot to (, ) [a0.984252,a0.984252].
Prepend a for absolute [Default r is relative]
(Note that for overlays (-O), the default is [r0,r0].)
Give c to center plot on page in x and/or y.)
-Z For 3-D plots: Set the z-level of map [0]
-c specifies the number of copies [1].
(See gmtdefaults man page for hidden GMT default parameters)