This file is indexed.

/usr/share/doc/pyxplot/html/sect0204.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
112
113
114
115
116
117
118
119
120
<!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: xformat</title>

<link href="sect0205.html" title="xlabel" rel="next" />
<link href="sect0203.html" title="width" 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="sect0203.html" title="width"><img alt="Previous: width" 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="sect0205.html" title="xlabel"><img alt="Next: xlabel" 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">xformat</b>
</span>
</span>
<hr />
</div>

<div><h2 id="a0000000205">1.47.78 xformat</h2>
<p><a name="a0000001311" id="a0000001311"></a> </p><pre>
set &lt;axis&gt;format ( auto | '&lt;format&gt;' )
      ( horizontal | vertical | rotate &lt;angle&gt; )
</pre><p>By default, the major tick marks along axes are labelled with representations of the ordinate values at each point, each accurate to the number of significant figures specified using the <tt class="tt">set numerics sigfig</tt> command<a name="a0000001312" id="a0000001312"></a>. These labels may appear as decimals, such as <img src="images/img-0472.png" alt="$3.142$" style="vertical-align:0px; 
                                     width:41px; 
                                     height:12px" class="math gen" />, in scientific notion, as in <img src="images/img-0473.png" alt="$3\times 10^8$" style="vertical-align:0px; 
                                     width:56px; 
                                     height:16px" class="math gen" />, or, on logarithmic axes where a base has been specified for the logarithms, using syntax such as<a href="#a0000001313" class="footnote"><sup class="footnotemark">1</sup></a> </p><pre>
set log x1 2
</pre><p> in a format such as <img src="images/img-0474.png" alt="$1.5\times 2^8$" style="vertical-align:0px; 
                                     width:60px; 
                                     height:16px" class="math gen" />. </p><p>The <tt class="tt">set xformat</tt> command<a name="a0000001314" id="a0000001314"></a> – together with its companions such as <tt class="tt">set yformat</tt> – is used to manually specify an explicit format for the axis labels to take, as demonstrated by the following pair of examples: </p><pre>
set xformat "%.2f"%(x)
set yformat "%s$^\prime$"%(y/unit(feet))
</pre><p> The first example specifies that values should be displayed to two decimal places along the <tt class="tt">x</tt>-axis; the second specifies that distances should be displayed in feet along the <tt class="tt">y</tt>-axis. Note that the dummy variable used to represent the represented value is <tt class="tt">x</tt>, <tt class="tt">y</tt> or <tt class="tt">z</tt> depending upon the direction of the axis, but that the dummy variable used in the <tt class="tt">set x2format</tt> command is still <tt class="tt">x</tt>. The following pair of examples both have the equivalent effect of returning the <tt class="tt">x2</tt>-axis to its default system of tick labels: </p><pre>
set x2format auto
set x2format "%s"%(x)
</pre><p>The following example specifies that ordinate values should be displayed as multiples of <img src="images/img-0136.png" alt="$\pi $" style="vertical-align:0px; 
                                     width:11px; 
                                     height:8px" class="math gen" />: </p><pre>
set xformat "%s$\pi$"%(x/pi)
plot [-pi:2*pi] sin(x)
</pre><p>Note that where possible, PyXPlot intelligently changes the positions along axes where it places the ticks to reflect significant points in the chosen labelling system. The extent to which this is possible depends upon the format string supplied. It is generally easier when continuous-varying numerical values are substituted into strings, rather than discretely-varying values or strings. </p></div>



<div id="footnotes">
<p><b>Footnotes</b></p>
<ol>
<li id="a0000001313">Note that the <tt class="tt">x</tt> axis must be referred to as <tt class="tt">x1</tt> here to distinguish this statement from <tt class="tt">set log x2</tt>.</li>
</ol>
</div>

<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0203.html" title="width"><img alt="Previous: width" 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="sect0205.html" title="xlabel"><img alt="Next: xlabel" 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>