File: makecpt.html

package info (click to toggle)
gmt-doc 3.4-1.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,756 kB
  • ctags: 1,800
  • sloc: makefile: 30
file content (132 lines) | stat: -rw-r--r-- 2,947 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<HTML>
<HEAD>
<TITLE>makecpt</TITLE>
</HEAD>
<BODY>
<H1>makecpt</H1>
<HR>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
       makecpt - Make GMT color palette tables


</PRE>
<H2>SYNOPSIS</H2><PRE>
       <B>makecpt</B> [ <B>-C</B><I>table</I> ] [ <B>-I</B> ] [ <B>-T</B><I>z0/z1/dz</I> | <B>-T</B><I>ztable</I>] [ <B>-V</B> ]
       [ <B>-Z</B> ]


</PRE>
<H2>DESCRIPTION</H2><PRE>
       <B>makecpt</B> is a utility that will help you make color palette
       tables  (cpt files). You define an equidistant set of con
       tour intervals or pass your own z-table, and create a  new
       cpt file based on an existing master cpt file. The result
       ing cpt file can be reversed relative to the  master  cpt,
       and can be made continuous or discrete.


</PRE>
<H2>OPTIONS</H2><PRE>
       <B>-C</B>     Selects  the master color table <I>table</I> to use in the
              interpolation.  Choose among  the  built-in  tables
              (type  <B>makecpt</B> to see the list) or give the name of
              an existing cptfile [Default gives  a  rainbow  cpt
              file].

       <B>-I</B>     Reverses the sense of color progression in the mas
              ter cptfile.

       <B>-T</B>     Defines the range of the new cptfile by giving  the
              lowest and highest z-value and the interval. Alter
              natively, give the name of a ASCII  file  that  has
              one  z-value per record. If not given, the existing
              range in the master cptfile will be used intact.

       <B>-V</B>     Selects verbose  mode,  which  will  send  progress
              reports to stderr [Default runs "silently"].

       <B>-Z</B>     Creates  a  continuous cpt file [Default is discon
              tinuous, i.e. constant colors for each interval].


</PRE>
<H2>EXAMPLES</H2><PRE>
       To make a cpt file with z-values from -200  to  200,  with
       discrete  color  changes every 25, and using a polar blue-
       white-red colortable, try

       makecpt <B>-C</B><I>polar</I> <B>-T</B>-200/200/25 &gt; colors.cpt

       To make an equidistant cpt file from z = -2 to 6, in steps
       of 1, using continuous default rainbow colors, try

       makecpt <B>-T</B>-2/6/1 <B>-Z</B> &gt; rainbow.cpt

       To make a GEBCO look-alike cpt file for bathymetry, try

       makecpt <B>-C</B>gebco &gt; my_gebco.cpt

       Since <B>makecpt</B> will also interpolate from any existing .cpt
       file you may have in your directory, you cannot use one of
       the  listed  cpt  names  as  an output filename; hence the
       my_gebco.cpt in the example.


</PRE>
<H2>SEE ALSO</H2><PRE>
       <I>gmt</I>(l), <I><A HREF="grd2cpt.html">grd2cpt</A></I>(l)













































</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>
<body bgcolor="#ffffff">