/usr/share/doc/pyxplot/html/sect0018.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 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 | <!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: Querying the values of settings</title>
<link href="sec-plot_datafiles.html" title="Plotting data files" rel="next" />
<link href="sect0017.html" title="Removing labels and titles" rel="prev" />
<link href="ch-first_steps.html" title="First steps with Pyxplot" 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="sect0017.html" title="Removing labels and titles"><img alt="Previous: Removing labels and titles" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="ch-first_steps.html" title="First steps with Pyxplot"><img alt="Up: First steps with Pyxplot" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sec-plot_datafiles.html" title="Plotting data files"><img alt="Next: Plotting data files" 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="sect0001.html">Introduction to PyXPlot</a> <b>:</b>
</span>
</span><span>
<span>
<a href="ch-first_steps.html">First steps with Pyxplot</a> <b>:</b>
</span>
</span><span>
<span>
<b class="current">Querying the values of settings</b>
</span>
</span>
<hr />
</div>
<div><h1 id="a0000000019">3.7 Querying the values of settings</h1>
<p>As the previous section has demonstrated, the <tt class="tt">set</tt> command<a name="a0000000369" id="a0000000369"></a> is used in a wide range of ways to configure the way in which plots appear; we will meet many more in due course. The corresponding <tt class="tt">show</tt> command<a name="a0000000370" id="a0000000370"></a> can be used to query the current values of settings. To query the value of one particular setting, the <tt class="tt">show</tt> command<a name="a0000000371" id="a0000000371"></a> should be followed by the name of the setting, as in the example: </p><pre>
show title
</pre><p>Alternatively, several settings may be queried at once, or all settings beginning with a certain string of characters can be listed, as in the following two examples: </p><pre>
show xlabel ylabel key
show g
</pre><p>The special keyword <tt class="tt">settings</tt> may be used to display the values of all settings which can be set with the <tt class="tt">set</tt> command. A list of other special keywords which the <tt class="tt">show</tt> command<a name="a0000000372" id="a0000000372"></a> accepts is given in Table <a href="sect0018.html#tab:show_keywords">3.3</a>. </p><div id="tab:show_keywords" class="table"><center> <table cellspacing="0" class="tabular">
<tr>
<td style="border-top-style:solid; text-align:left; border-top-color:black; border-top-width:1px; border-left:1px solid black"><p> <b class="bf">Query</b> </p></td>
<td style="border-top-style:solid; text-align:left; border-top-color:black; border-top-width:1px; border-right:1px solid black"><p> <b class="bf">Description</b> </p></td>
</tr><tr>
<td style="border-top-style:solid; text-align:left; border-top-color:black; border-top-width:1px; border-left:1px solid black"><p><tt class="tt">all</tt> </p></td>
<td style="border-top-style:solid; text-align:left; border-top-color:black; border-top-width:1px; border-right:1px solid black"><p> Lists all settings.</p></td>
</tr><tr>
<td style="text-align:left; border-left:1px solid black"><p><tt class="tt">axes</tt> </p></td>
<td style="text-align:left; border-right:1px solid black"><p> Lists all of the currently configured axes.</p></td>
</tr><tr>
<td style="text-align:left; border-left:1px solid black"><p><tt class="tt">functions</tt> </p></td>
<td style="text-align:left; border-right:1px solid black"><p> Lists all currently defined mathematical functions, both those which are built into Pyxplot and those which the user has defined.</p></td>
</tr><tr>
<td style="text-align:left; border-left:1px solid black"><p><tt class="tt">settings</tt> </p></td>
<td style="text-align:left; border-right:1px solid black"><p> Lists the current values of all settings which can be set with the <tt class="tt">set</tt> command.</p></td>
</tr><tr>
<td style="text-align:left; border-left:1px solid black"><p><tt class="tt">units</tt> </p></td>
<td style="text-align:left; border-right:1px solid black"><p> Lists all of the physical units which Pyxplot is currently set up to recognise.</p></td>
</tr><tr>
<td style="text-align:left; border-left:1px solid black"><p><tt class="tt">userfunctions</tt> </p></td>
<td style="text-align:left; border-right:1px solid black"><p> Lists all current user-defined mathematical functions and subroutines.</p></td>
</tr><tr>
<td style="border-bottom-color:black; border-bottom-width:1px; text-align:left; border-bottom-style:solid; border-left:1px solid black"><p><tt class="tt">variables</tt> </p></td>
<td style="border-bottom-color:black; border-bottom-width:1px; text-align:left; border-bottom-style:solid; border-right:1px solid black"><p> Lists the values of all currently-defined variables.</p></td>
</tr>
</table> </center><div class="caption"><b>Table 3.3</b>: <span>The special keywords which the <tt class="tt">show</tt> command<a name="a0000000373" id="a0000000373"></a> recognises.</span></div></div><p>Generally, the <tt class="tt">show</tt> command<a name="a0000000374" id="a0000000374"></a> displays each setting in the form of a typeable <tt class="tt">set</tt> command<a name="a0000000375" id="a0000000375"></a> which could be used to set that setting, together with a comment to briefly explain what effect the setting has. This means that the output can be pasted directly into another Pyxplot terminal to copy settings from one session to another. However, some settings such as <tt class="tt">papersize</tt> are only pastable once the <tt class="tt">set numerics typeable</tt> command<a name="a0000000376" id="a0000000376"></a> has been issued, for reasons which will be explained in Section <a href="sec-pastable.html">4.7.3</a>. </p><p>When a color-highlighted interactive session is used, settings which have been changed are highlighted in yellow, whilst those settings which are unchanged from Pyxplot’s default configuration, or from a user-supplied configuration file, are shown in green. </p></div>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0017.html" title="Removing labels and titles"><img alt="Previous: Removing labels and titles" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="ch-first_steps.html" title="First steps with Pyxplot"><img alt="Up: First steps with Pyxplot" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sec-plot_datafiles.html" title="Plotting data files"><img alt="Next: Plotting data files" 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>
|