/usr/share/doc/pyxplot/html/sect0207.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 | <!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: xtics</title>
<link href="sect0208.html" title="yformat" rel="next" />
<link href="sect0206.html" title="xrange" 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="sect0206.html" title="xrange"><img alt="Previous: xrange" 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="sect0208.html" title="yformat"><img alt="Next: yformat" 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">xtics</b>
</span>
</span>
<hr />
</div>
<div><h2 id="a0000000208">1.47.81 xtics</h2>
<p><a name="a0000001317" id="a0000001317"></a> </p><pre>
set [m]<axis>tics
[ ( axis | border | inward | outward | both ) ]
[ ( autofreq
| [<minimum>,] <increment> [, <maximum>]
| \( { '<label>' <position> } \)
] )
</pre><p>By default, PyXPlot places a series of tick marks at significant points along each axis, with the most significant points being labelled. Labelled tick marks are termed <i class="it">major</i> ticks, and unlabelled tick marks are termed <i class="it">minor</i> ticks. The position and appearance of the major ticks along the <tt class="tt">x</tt>-axis can be configured using the <tt class="tt">set xtics</tt> command<a name="a0000001318" id="a0000001318"></a>; the corresponding <tt class="tt">set mxtics</tt> command configures the appearance of the minor ticks along the <tt class="tt">x</tt>-axis. Analogous commands such as <tt class="tt">set ytics</tt> and <tt class="tt">set mx2tics</tt> configure the major and minor ticks along other axes. </p><p>The keywords <tt class="tt">inward</tt><a name="a0000001319" id="a0000001319"></a>, <tt class="tt">outward</tt><a name="a0000001320" id="a0000001320"></a> and <tt class="tt">both</tt><a name="a0000001321" id="a0000001321"></a> are used to configure how the ticks appear – whether they point inward, towards the plot, as is default, or outwards towards the axis labels, or in both directions. The keyword <tt class="tt">axis</tt><a name="a0000001322" id="a0000001322"></a> is an alias for <tt class="tt">inward</tt><a name="a0000001323" id="a0000001323"></a>, and <tt class="tt">border</tt><a name="a0000001324" id="a0000001324"></a> is an alias for <tt class="tt">outward</tt><a name="a0000001325" id="a0000001325"></a>. </p><p>The remaining options are used to configure where along the axis ticks are placed. If a series of comma-separated values <tt class="tt"><minimum>, <increment>, <maximum></tt> are specified, then ticks are placed at evenly spaced intervals between the specified limits. The <tt class="tt"><minimum></tt> and <tt class="tt"><maximum></tt> values are optional; if only one value is specified then it is taken to be the step size between ticks. If two values are specified, then the first is taken to be <tt class="tt"><minimum></tt>. In the case of logarithmic axes, <tt class="tt"><increment></tt> is applied as a multiplicative step size. </p><p>Alternatively, if a bracketed list of quoted tick labels and tick positions are provided, then ticks can be placed on an axis manually and each given its own textual label. The quoted tick labels may be omitted, in which case they are automatically generated: </p><pre>
set xtics ("a" 1, "b" 2, "c" 3)
set xtics (1,2,3)
</pre><p> The keyword <tt class="tt">autofreq</tt><a name="a0000001326" id="a0000001326"></a> overrides any manual selection of ticks which may have been placed on an axis and resumes the automatic placement of ticks along it. The <tt class="tt">show xtics</tt> command<a name="a0000001327" id="a0000001327"></a>, together with its companions such as <tt class="tt">show x2tics</tt> and <tt class="tt">show ytics</tt>, is used to query the current ticking options. The <tt class="tt">set noxtics</tt> command<a name="a0000001328" id="a0000001328"></a> is used to stipulate that no ticks should appear along a particular axis: </p><pre>
set noxtics
show xtics
</pre></div>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0206.html" title="xrange"><img alt="Previous: xrange" 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="sect0208.html" title="yformat"><img alt="Next: yformat" 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>
|