/usr/share/doc/pyxplot/html/sect0162.html is in pyxplot-doc 0.9.2-4.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="generator" content="plasTeX" />
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<title>PyXPlot Users' Guide: colormap</title>
<link href="sect0163.html" title="contours" rel="next" />
<link href="sect0161.html" title="colorkey" rel="prev" />
<link href="sect0145.html" title="set" rel="up" />
<link rel="stylesheet" href="styles/styles.css" />
</head>
<body>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0161.html" title="colorkey"><img alt="Previous: colorkey" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="sect0145.html" title="set"><img alt="Up: set" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sect0163.html" title="contours"><img alt="Next: contours" border="0" src="icons/next.gif" width="32" height="32" /></a></td>
<td class="navtitle" align="center">PyXPlot Users' Guide</td>
<td><a href="index.html" title="Table of Contents"><img border="0" alt="" src="icons/contents.gif" width="32" height="32" /></a></td>
<td><a href="sect0288.html" title="Index"><img border="0" alt="" src="icons/index.gif" width="32" height="32" /></a></td>
<td><img border="0" alt="" src="icons/blank.gif" width="32" height="32" /></td>
</tr>
</table>
</div>
<div class="breadcrumbs">
<span>
<span>
<a href="index.html">PyXPlot Users' Guide</a> <b>:</b>
</span>
</span><span>
<span>
<a href="sect0089.html">Reference Manual</a> <b>:</b>
</span>
</span><span>
<span>
<a href="ch-reference.html">Command reference</a> <b>:</b>
</span>
</span><span>
<span>
<a href="sect0145.html">set</a> <b>:</b>
</span>
</span><span>
<span>
<b class="current">colormap</b>
</span>
</span>
<hr />
</div>
<div><h2 id="a0000000163">1.52.17 colormap</h2>
<p><a name="a0000001199" id="a0000001199"></a> </p><pre>
set colormap <color expression> [ mask <expr> ]
</pre><p>The setting <tt class="tt">colormap</tt> is used to specify the mapping between ordinate values and colors used by the <tt class="tt">colormap</tt><a name="a0000001200" id="a0000001200"></a><a name="a0000001201" id="a0000001201"></a> plot style. Within the color expression, the variables <tt class="tt">c1</tt>, <tt class="tt">c2</tt>, <tt class="tt">c3</tt> and <tt class="tt">c4</tt> refer quantities calculated from the third through sixth columns of data supplied to the <tt class="tt">colormap</tt><a name="a0000001202" id="a0000001202"></a><a name="a0000001203" id="a0000001203"></a> plot style in a way determined by the <tt class="tt">c<n>range</tt> setting. Thus, the following color mapping, which is the default, produces a greyscale color mapping of the third column of data supplied to the <tt class="tt">colormap</tt><a name="a0000001204" id="a0000001204"></a><a name="a0000001205" id="a0000001205"></a> plot style; further columns of data, if supplied, are not used: </p><pre>
set c1range [*:*] renormalise
set colormap rgb(c1,c1,c1)
</pre><p>If a mask expression is supplied, then any areas in a color map where this expression evaluates to false (or zero) are made transparent. </p></div>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0161.html" title="colorkey"><img alt="Previous: colorkey" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="sect0145.html" title="set"><img alt="Up: set" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sect0163.html" title="contours"><img alt="Next: contours" border="0" src="icons/next.gif" width="32" height="32" /></a></td>
<td class="navtitle" align="center">PyXPlot Users' Guide</td>
<td><a href="index.html" title="Table of Contents"><img border="0" alt="" src="icons/contents.gif" width="32" height="32" /></a></td>
<td><a href="sect0288.html" title="Index"><img border="0" alt="" src="icons/index.gif" width="32" height="32" /></a></td>
<td><img border="0" alt="" src="icons/blank.gif" width="32" height="32" /></td>
</tr>
</table>
</div>
<script language="javascript" src="icons/imgadjust.js" type="text/javascript"></script>
</body>
</html>
|