NAME
makecpt - Make GMT color palette tables
SYNOPSIS
makecpt -Ccint_or_file -Snshades_or_file[c]
[ -I ] [ -Mmidval [ -Z ]
DESCRIPTION
makecpt is a utility that will help you make color palette
tables (cpt files). Optionally, you may define equidistant
contour intervals and create a grayramp or rainbow palette.
-C Name of a single-column contour interval file OR a
positive number, the contour interval desired.
-S Name of a color table OR a positive number, the number
of intervals desired. Append a c to create a rainbow
color table [Default is gray ramp].
OPTIONS
-I Reverses the sense of the gray or color ramp.
-M Sets the middle contour value. Ignored if -C is given
a file name.
-Z Creates a continuous cpt file [Default is discontinu-
ous, i.e. constant colors for each interval]. Ignored
if contour or color tables are specified.
EXAMPLES
To convert the GMT v1.x style contours.d and colors.d tables
into a cpt file, try
makecpt -Ccontours.d -Scolors.d > colors.cpt
To make an equidistant cpt file from z = -2 to 6, in steps
of 1, using continuous rainbow colors, try
makecpt -C1.0 -S8c -M2 -Z > rainbow.cpt
SEE ALSO
gmt, grd2cpt
REFERENCES
Wessel, P., and W. H. F. Smith, 1995, The Generic Mapping
Tools (GMT) version 3.0 Technical Reference & Cookbook,
SOEST/NOAA.
Wessel, P., and W. H. F. Smith, 1995, New Version of the
Generic Mapping Tools Released, EOS Trans. AGU, 76, p. 329.
Wessel, P., and W. H. F. Smith, 1995, New Version of the
Generic Mapping Tools Released,
http://www.agu.org/eos_elec/95154e.html, Copyright 1995 by
the American Geophysical Union.
Wessel, P., and W. H. F. Smith, 1991, Free Software Helps
Map and Display Data, EOS Trans. AGU, 72, p. 441.