mbm_grd3dplot
Section: MB-System 5.0 (1)
Updated: 26 October 2009
Index
NAME
mbm_grd3dplot - Create an executable shellscript which will generate a GMT 3D perspective plot of gridded data in a GMT grd file.VERSION
Version 5.0SYNOPSIS
mbm_grd3dplot -Ifile [-A[magnitude[/azimuth/elevation] -D[flipcolor/flipshade] -E[view_az/view_el] -Fexaggeration -Gcolor_mode -H -Kintensity_file -Ndrape_file -Oroot -Ppagesize -S[color/shade] -Uorientation -V -W[color_style[/pallette[ncolors]] | cptfile] ]Additional Options:
[-Btickinfo -Jprojection[/scale | width] -Ltitle[:scale_label] -Mmisc -Q -Rw/e/s/n -X -Y -Zmin/max ]Miscellaneous Options:
[-MGDgmtdef/value -MGFscale_loc -MGL[f][x]lon0/lat0/slat/length[m] -MGQdpi -MGSscalefactor -MGTx/y/size/angle/font/just/text -MGU[/dx/dy/][label] -MVMmesh_pen -MVN[null[/r/g/b]] ]
DESCRIPTION
mbm_grd3dplot is a macro to generate a shellscript of GMT commands which, when executed, will generate a 3D perspective Postscript plot of gridded data. Several styles of plots can be generated, including color fill views, color shaded relief views, mesh plot views, and text labels. Five different color schemes are included. The plot will be scaled to fit on the specified page size or, if the scale is user defined, the page size will be chosen in accordance with the plot size. The vertical exaggeration may be specified. The primary purpose of this macro is to allow the simple, semi-automated production of nice looking maps with a few command line arguments. For users seeking more control over the plot appearance, a number of additional optional arguments are provided. Truly ambitious users may edit the plot shellscript to take advantage of GMT capabilites not supported by this macro.AUTHORSHIP
David W. Caress (caress@mbari.org)
Monterey Bay Aquarium Research Institute
Dale N. Chayes (dale@ldeo.columbia.edu)
Lamont-Doherty Earth ObservatorySIMPLE DESCRIPTION OF BASIC OPTIONS
If color_style = 1 [default], then
the color scheme used will be a continuous grading
of colors. If color_style = 2, the color scheme
will be a set of discrete color intervals. The color
pallette used is set using pallette. Five pallettes
are available:
pallette = 1: Haxby colors [default]
pallette = 2: high Intensity colors
pallette = 3: low Intensity colors
pallette = 4: grayscale
pallette = 5: uniform grayscale
A complete description of the color pallettes is given
in the COMPLETE DESCRIPTION OF OPTIONS section below.
The ncolors parameter sets the number of color
values used in plotting, whether the colors are
represented in a continuous color scale or a
stepped, discrete color scale [default is 11].
If the option argument is the path to an existing GMT color pallette (CPT) file, then that CPT file and its color scheme will be used for the plot
CYLINDRICAL PROJECTIONS:
-Jclon0/lat0/scale (Cassini)
-Jmscale (Mercator)
-Joalon0/lat0/azimuth/scale (Oblique Mercator - point and azimuth)
-Joblon0/lat0/lon1/lat1/scale (Oblique Mercator - two points)
-Joclon0/lat0/lonp/latp/scale (Oblique Mercator - point and pole)
-Jqlon0/scale (Equidistant Cylindrical Projection (Plate Carree))
-Jtlon0/scale (TM - Transverse Mercator)
-Juzone/scale (UTM - Universal Transverse Mercator)
-Jylon0/lats/scale (Basic Cylindrical Projection)
AZIMUTHAL PROJECTIONS:
-Jalon0/lat0/scale (Lambert).
-Jelon0/lat0/scale (Equidistant).
-Jglon0/lat0/scale (Orthographic).
-Jslon0/lat0/scale (General Stereographic)
CONIC PROJECTIONS:
-Jblon0/lat0/lat1/lat2/scale (Albers)
-Jllon0/lat0/lat1/lat2/scale (Lambert)
MISCELLANEOUS PROJECTIONS:
-Jhlon0/scale (Hammer)
-Jilon0/scale (Sinusoidal)
-Jklon0/scale (Eckert VI)
-Jnlon0/scale (Robinson)
-Jrlon0/scale (Winkel Tripel)
-Jwlon0/scale (Mollweide)
NON-GEOGRAPHICAL PROJECTIONS:
-Jpscale (Linear projection for polar (theta,r) coordinates)
-Jxx-scale[l|ppow][/y-scale[l|ppow]] (Linear, log, and power scaling)
More details can be found in the psbasemap manpages.
American ANSI sizes:
A 8.5 x 11.0 in. ( 215.9 x 279.4 mm)
B 11.0 x 17.0 in. ( 279.4 x 431.8 mm)
C 17.0 x 22.0 in. ( 431.8 x 558.8 mm)
D 22.0 x 34.0 in. ( 558.8 x 863.6 mm)
E 34.0 x 44.0 in. ( 863.6 x 1117.6 mm)
F 28.0 x 40.0 in. ( 711.2 x 1016.0 mm)
E1 44.0 x 68.0 in. (1117.6 x 1727.2 mm)
Metric ISO A sizes:
A0 841.0 x 1189.0 mm (33.11 x 46.81 in.)
A1 594.0 x 841.0 mm (23.39 x 33.11 in.)
A2 420.0 x 594.0 mm (16.54 x 23.39 in.)
A3 297.0 x 420.0 mm (11.69 x 16.54 in.)
A4 210.0 x 297.0 mm ( 8.27 x 11.69 in.)
A5 148.0 x 210.0 mm ( 5.83 x 8.27 in.)
A6 105.0 x 148.0 mm ( 4.13 x 5.83 in.)
A7 74.0 x 105.0 mm ( 2.91 x 4.13 in.)
A8 52.0 x 74.0 mm ( 2.05 x 2.91 in.)
A9 37.0 x 52.0 mm ( 1.46 x 2.05 in.)
A10 26.0 x 37.0 mm ( 1.02 x 1.46 in.)
Metric ISO B sizes:
B0 1000.0x 1414.0 mm (39.37 x 55.67 in.)
B1 707.0 x 1000.0 mm (27.83 x 39.37 in.)
B2 500.0 x 707.0 mm (19.68 x 27.83 in.)
B3 353.0 x 500.0 mm (13.90 x 19.68 in.)
B4 250.0 x 353.0 mm ( 9.84 x 13.90 in.)
B5 176.0 x 250.0 mm ( 6.93 x 9.84 in.)
B6 125.0 x 176.0 mm ( 4.92 x 6.93 in.)
B7 88.0 x 125.0 mm ( 3.46 x 4.92 in.)
B8 62.0 x 88.0 mm ( 2.44 x 3.46 in.)
B9 44.0 x 62.0 mm ( 1.73 x 2.44 in.)
B10 31.0 x 44.0 mm ( 1.22 x 1.73 in.)
Metric ISO C sizes:
C0 914.4 x 1300.5 mm (36.00 x 51.20 in.)
C1 650.2 x 914.4 mm (25.60 x 36.00 in.)
C2 457.2 x 650.2 mm (18.00 x 25.60 in.)
C3 325.1 x 457.2 mm (12.80 x 18.00 in.)
C4 228.6 x 325.1 mm ( 9.00 x 12.80 in.)
C5 162.6 x 228.6 mm ( 6.40 x 9.00 in.)
C6 114.3 x 162.6 mm ( 4.50 x 6.40 in.)
C7 81.3 x 114.3 mm ( 3.20 x 4.50 in.)
MB-System large format sizes:
m1 1371.6 x 1828.8 mm (54.00 x 72.00 in.)
m2 1371.6 x 2133.6 mm (54.00 x 84.00 in.)
m3 1371.6 x 2438.4 mm (54.00 x 96.00 in.)
m4 1524.0 x 1828.8 mm (54.00 x 72.00 in.)
m5 1524.0 x 2133.6 mm (54.00 x 84.00 in.)
m6 1524.0 x 2438.4 mm (54.00 x 96.00 in.)
The default page size is A.
If color_style = 1 [default], then
the color scheme used will be a continuous grading
of colors. If color_style = 2, the color scheme
will be a set of discrete color intervals. The color
pallette used is set using pallette. Seven pallettes
are available:
pallette = 1: Haxby colors [default]
pallette = 2: high Intensity colors
pallette = 3: low Intensity colors
pallette = 4: grayscale
pallette = 5: uniform grayscale
pallette = 6: uniform black
pallette = 7: uniform white
The RGB definitions of the color pallettes are:
color pallette 1 - Haxby Color Table
red: 255 255 255 255 240 205 138 106 50 40 37
green: 255 186 161 189 236 255 236 235 190 127 57
blue: 255 133 68 87 121 162 174 255 255 251 175
color pallette 2 - High Intensity Colors
red: 255 255 255 255 128 0 0 0 0 128 255
green: 0 64 128 255 255 255 255 128 0 0 0
blue: 0 0 0 0 0 0 255 255 255 255 255
color pallette 3 - Low Intensity Colors
red: 200 194 179 141 90 0 0 0 0 90 141
green: 0 49 90 141 179 200 141 90 0 0 0
blue: 0 0 0 0 0 0 141 179 200 179 141
color pallette 4 - Grayscale
red: 255 230 204 179 153 128 102 77 51 26 0
green: 255 230 204 179 153 128 102 77 51 26 0
blue: 255 230 204 179 153 128 102 77 51 26 0
color pallette 5 - Uniform Grayscale
red: 128 128 128 128 128 128 128 128 128 128 128
green: 128 128 128 128 128 128 128 128 128 128 128
blue: 128 128 128 128 128 128 128 128 128 128 128
color pallette 6 - Uniform Black
red: 0 0 0 0 0 0 0 0 0 0 0
green: 0 0 0 0 0 0 0 0 0 0 0
blue: 0 0 0 0 0 0 0 0 0 0 0
color pallette 7 - Uniform White
red: 255 255 255 255 255 255 255 255 255 255 255
green: 255 255 255 255 255 255 255 255 255 255 255
blue: 255 255 255 255 255 255 255 255 255 255 255
The Haxby colors have been adapted from a pallette
developed by Dr. William Haxby of the Lamont-Doherty
Earth Observatory; this pallette is pleasing to the
eye and well suited for shading. The high intensity
colors describe linear paths through RGB space from
red to blue to green to purple; because the colors are high
intensity they are not well suited to shading.
The low intensity colors are similar to the high
intensity, but muted and thus well suited to shading.
The grayscale pallette runs linearly from white to
black and is commonly used for plots of sidescan and amplitude
data. The uniform grayscale is useful for non-color
shaded relief plots.
The ncolors parameter sets the number of color
values used in plotting, whether the colors are
represented in a continuous color scale or a
stepped, discrete color scale [default is 11].
If the option argument is the path to an existing GMT color pallette (CPT) file, then that CPT file and its color scheme will be used for the plot
Last Updated: 26 October 2009