This file is indexed.

/usr/share/doc/gmt/html/man/makecpt.html is in gmt-doc 4.5.12-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!-- Creator     : groff version 1.22.2 -->
<!-- CreationDate: Thu Feb 27 18:13:03 2014 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
       p       { margin-top: 0; margin-bottom: 0; vertical-align: top }
       pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
       table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
       h1      { text-align: center }
</style>
<title>MAKECPT</title>

</head>
<body bgcolor="#ffffff">

<h1 align="center">MAKECPT</h1>

<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#EXAMPLES">EXAMPLES</a><br>
<a href="#BUGS">BUGS</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>

<hr>


<h2>NAME
<a name="NAME"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">makecpt &minus;
Make GMT color palette tables</p>

<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em"><b>makecpt</b>
[ <b>&minus;C</b><i>table</i> ] [ <b>&minus;D</b> ] [
<b>&minus;I</b> ] [ <b>&minus;M</b> ] [ <b>&minus;N</b> ] [
<b>&minus;Q</b>[<b>i|o</b>] ] [
<b>&minus;T</b><i>z0/z1/dz</i> |
<b>&minus;T</b><i>ztable</i> ] [ <b>&minus;V</b> ] [
<b>&minus;Z</b> ]</p>

<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em"><b>makecpt</b>
is a utility that will help you make color palette tables
(cpt files). You define an equidistant set of contour
intervals or pass your own z-table, and create a new cpt
file based on an existing master cpt file. The resulting cpt
file can be reversed relative to the master cpt, and can be
made continuous or discrete. <br>
The color palette includes three additional colors beyond
the range of z-values. These are the background color (B)
assigned to values lower than the lowest <i>z</i>-value, the
foreground color (F) assigned to values higher than the
highest <i>z</i>-value, and the NaN color (N) painted
whereever values are undefined. <br>
If the master cpt file includes B, F, and N entries, these
will be copied into the new master file. If not, the
parameters <b><A HREF="gmtdefaults.html#COLOR_BACKGROUND">COLOR_BACKGROUND</A></b>, <b><A HREF="gmtdefaults.html#COLOR_FOREGROUND">COLOR_FOREGROUND</A></b>,
and <b><A HREF="gmtdefaults.html#COLOR_NAN">COLOR_NAN</A></b> from the .gmtdefaults4 file or the
command line will be used. This default behavior can be
overruled using the options <b>&minus;D</b>, <b>&minus;M</b>
or <b>&minus;N</b>. <br>
The color model (RGB, HSV or CMYK) of the palette created by
<b>makecpt</b> will be the same as specified in the header
of the master cpt file. When there is no <b><A HREF="gmtdefaults.html#COLOR_MODEL">COLOR_MODEL</A></b>
entry in the master cpt file, the <b><A HREF="gmtdefaults.html#COLOR_MODEL">COLOR_MODEL</A></b>
specified in the .gmtdefaults4 file or on the command line
will be used.</p>

<h2>OPTIONS
<a name="OPTIONS"></a>
</h2>


<table width="100%" border="0" rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p style="margin-top: 1em"><b>&minus;C</b></p></td>
<td width="8%"></td>
<td width="78%">


<p style="margin-top: 1em">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 cpt file [Default gives a
rainbow cpt file].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;D</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Select the colors for lowest and highest <i>z</i>-values
in the output cpt file as the back- and foreground colors
that will be written to the cpt file [Default uses the
colors specified in the master file, or those defined by the
parameters <b><A HREF="gmtdefaults.html#COLOR_BACKGROUND">COLOR_BACKGROUND</A></b>, <b><A HREF="gmtdefaults.html#COLOR_FOREGROUND">COLOR_FOREGROUND</A></b>,
and <b><A HREF="gmtdefaults.html#COLOR_NAN">COLOR_NAN</A></b>].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;I</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Reverses the sense of color progression in the master
cpt file. Also exchanges the foreground and background
colors, including those specified by the parameters
<b><A HREF="gmtdefaults.html#COLOR_BACKGROUND">COLOR_BACKGROUND</A></b> and <b><A HREF="gmtdefaults.html#COLOR_FOREGROUND">COLOR_FOREGROUND</A></b>.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;M</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Overrule background, foreground, and NaN colors
specified in the master cpt file with the values of the
parameters <b><A HREF="gmtdefaults.html#COLOR_BACKGROUND">COLOR_BACKGROUND</A></b>, <b><A HREF="gmtdefaults.html#COLOR_FOREGROUND">COLOR_FOREGROUND</A></b>,
and <b><A HREF="gmtdefaults.html#COLOR_NAN">COLOR_NAN</A></b> specified in the .gmtdefaults4 file or
on the command line. When combined with <b>&minus;D</b>,
only <b><A HREF="gmtdefaults.html#COLOR_NAN">COLOR_NAN</A></b> is considered.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;N</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Do not write out the background, foreground, and
NaN-color fields [Default will write them].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;Q</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Selects a logarithmic interpolation scheme [Default is
linear]. <b>&minus;Qi</b> expects input z-values to be
log10(z), assigns colors, and writes out z [Default].
<b>&minus;Qo</b> takes log10(z) first, assigns colors, and
writes out z.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;T</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Defines the range of the new cpt file by giving the
lowest and highest z-value and the interval. Alternatively,
give the name of a ASCII file that has one z-value per
record. If not given, the existing range in the master cpt
file will be used intact.</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;V</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Selects verbose mode, which will send progress reports
to stderr [Default runs &quot;silently&quot;].</p></td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">


<p><b>&minus;Z</b></p></td>
<td width="8%"></td>
<td width="78%">


<p>Creates a continuous cpt file [Default is discontinuous,
i.e., constant colors for each interval].</p></td></tr>
</table>

<h2>EXAMPLES
<a name="EXAMPLES"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">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:</p>

<p style="margin-left:11%; margin-top: 1em"><b>makecpt
&minus;C</b><i>polar</i> <b>&minus;T</b>-200/200/25 &gt;
colors.cpt</p>

<p style="margin-left:11%; margin-top: 1em">To make an
equidistant cpt file from z = -2 to 6, in steps of 1, using
continuous default rainbow colors:</p>

<p style="margin-left:11%; margin-top: 1em"><b>makecpt
&minus;T</b>-2/6/1 <b>&minus;Z</b> &gt; rainbow.cpt</p>

<p style="margin-left:11%; margin-top: 1em">To make a GEBCO
look-alike cpt file for bathymetry, run</p>

<p style="margin-left:11%; margin-top: 1em"><b>makecpt
&minus;C</b> gebco &gt; my_gebco.cpt</p>

<h2>BUGS
<a name="BUGS"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em">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.</p>

<h2>SEE ALSO
<a name="SEE ALSO"></a>
</h2>


<p style="margin-left:11%; margin-top: 1em"><i><A HREF="GMT.html">GMT</A></i>(1),
<i><A HREF="grd2cpt.html">grd2cpt</A></i>(1)</p>
<hr>
</body>
</html>