/usr/share/doc/pyxplot/html/sect0145.html is in pyxplot-doc 0.8.4-3.
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 | <!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: cnrange</title>
<link href="sect0146.html" title="data style" rel="next" />
<link href="sect0144.html" title="contours" rel="prev" />
<link href="sect0126.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="sect0144.html" title="contours"><img alt="Previous: contours" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="sect0126.html" title="set"><img alt="Up: set" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sect0146.html" title="data style"><img alt="Next: data style" 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="sect0255.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="sect0075.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="sect0126.html">set</a> <b>:</b>
</span>
</span><span>
<span>
<b class="current">c<img src="images/img-0034.png" alt="$<$" style="vertical-align:0px;
width:12px;
height:11px" class="math gen" />n<img src="images/img-0035.png" alt="$>$" style="vertical-align:0px;
width:12px;
height:11px" class="math gen" />range</b>
</span>
</span>
<hr />
</div>
<div><h2 id="a0000000146">1.47.19 c<img src="images/img-0034.png" alt="$<$" style="vertical-align:0px;
width:12px;
height:11px" class="math gen" />n<img src="images/img-0035.png" alt="$>$" style="vertical-align:0px;
width:12px;
height:11px" class="math gen" />range</h2>
<p><a name="a0000001162" id="a0000001162"></a> </p><pre>
set c<n>range [ <range> ]
[ reversed | noreversed ]
[ renormalise | norenormalise ]
</pre><p>The <tt class="tt">set c<n>range</tt> command changes the range of ordinate values represented by different colours in the <tt class="tt">colourmap</tt><a name="a0000001163" id="a0000001163"></a><a name="a0000001164" id="a0000001164"></a> plot style, and in the case of the <tt class="tt">set c1range</tt> command, also by contours in the <tt class="tt">contourmap</tt><a name="a0000001165" id="a0000001165"></a><a name="a0000001166" id="a0000001166"></a> plot style. The value <tt class="tt"><n></tt> should be an integer in the range 1–4. </p><h3 id="a0000001167">Contour Maps</h3>
<p>The effect of the <tt class="tt">set c1range</tt> command upon the set of ordinate values for which contours are drawn in the <tt class="tt">contourmap</tt> plot style is dependent upon whether the <tt class="tt">set contours</tt> command has been supplied with a number of contours to draw, or a list of explicit ordinate values for which they should be drawn. In the latter case, the <tt class="tt">set c1range</tt> command has no effect. In the former case, the contours are evenly spaced, either linearly or logarithmically depending upon the state of the <tt class="tt">logscale c1</tt> setting, between the minimum and maximum ordinate values supplied to the <tt class="tt">set c1range</tt> command. If an asterisk (<tt class="tt">*</tt>) is supplied in place of either the minimum and/or the maximum, then the range of values used is automatically scaled to fit the range of the data supplied. </p><h3 id="a0000001168">Colour Maps</h3>
<p>The colour of each pixel in a colour map is determined by the <tt class="tt">colourmap</tt> setting, which should contain an expression of the form <tt class="tt">rgb(c1):(c2):(c3)</tt>, specifying the components of a colour in either RGB, HSB or CMYK space, as a function of the variables <tt class="tt">c1</tt>, <tt class="tt">c2</tt>, <tt class="tt">c3</tt> and <tt class="tt">c4</tt>. The <tt class="tt">colourmap</tt> plot style should be supplied with between three and six columns of data, the first two of which contain the <img src="images/img-0019.png" alt="$x$" style="vertical-align:0px;
width:10px;
height:8px" class="math gen" />- and <img src="images/img-0020.png" alt="$y$" style="vertical-align:-4px;
width:9px;
height:12px" class="math gen" />-positions of points, and the remainder of which are used to set the values of the variables <tt class="tt">c1</tt>, <tt class="tt">c2</tt>, <tt class="tt">c3</tt> and <tt class="tt">c4</tt> when calculating the colour with which that point should be represented. If fewer than six columns of data are supplied, then not all of these variables will be set. </p><p>The <tt class="tt">set c<n>range</tt> command is used to determine how the raw data values are mapped to the values of the variables <tt class="tt">c1</tt>–<tt class="tt">c4</tt>. If the <tt class="tt">norenormalise</tt> option is specified, then the raw values are passed directly to the expression. Otherwise, they are first scaled into the range zero to one. If an explicit range is specified to the <tt class="tt">set c<n>range</tt> command, then the upper limit of this range maps to the value one, and the lower limit maps to the value zero. This mapping is inverted if the <tt class="tt">reverse</tt> option is specified, such that the upper limit maps to zero, and the lower limit maps to one. If an asterisk (<tt class="tt">*</tt>) is supplied in place of either the upper and/or lower limit, then the range automatically scales to fit the data supplied. Intermediate values are scaled, either linearly or logarithmically, depending upon the state of the <tt class="tt">logscale c<n></tt> setting. For more details of the syntax of the range specifier, see the <tt class="tt">set xrange</tt> command. </p></div>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0144.html" title="contours"><img alt="Previous: contours" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="sect0126.html" title="set"><img alt="Up: set" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sect0146.html" title="data style"><img alt="Next: data style" 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="sect0255.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>
|