MAKECPT
Section: Misc. Reference Manual Pages (l)
Updated: DATE
Index
Return to Main Contents
NAME
makecpt - Make GMT color palette tables
SYNOPSIS
makecpt -Ccint_or_file -Snshades_or_file[c]
[ -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
- -M
-
Sets the middle contour value. Ignored if -C is given a file name.
- -Z
-
Creates a continuous cpt file [Default is discontinuous, 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
#include "refs.i"
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- EXAMPLES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 07:11:38 GMT, January 07, 2025