/usr/share/doc/pyxplot/html/sect0131.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 | <!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: plot</title>
<link href="sect0132.html" title="axes" rel="next" />
<link href="sect0130.html" title="piechart" rel="prev" />
<link href="ch-reference.html" title="Command reference" 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="sect0130.html" title="piechart"><img alt="Previous: piechart" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="ch-reference.html" title="Command reference"><img alt="Up: Command reference" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sect0132.html" title="axes"><img alt="Next: axes" 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>
<b class="current">plot</b>
</span>
</span>
<hr />
</div>
<div><h1 id="a0000000132">1.42 plot</h1>
<p><a name="a0000001129" id="a0000001129"></a> </p><pre>
plot [ 3d ] [ item <id> ] [ { <range> } ]
( <filename> | { <expression> } | { <vector obj> } )
[ axes <axes>] [ every { <expression> } ]
[ index <value>] [ select <expression> ]
[ label <string expression> ]
[ title <string> ] [ using { <expression> } ]
[ with { <option> } ]
</pre><p>The <tt class="tt">plot</tt> command<a name="a0000001130" id="a0000001130"></a> is used to produce graphs. The following simple example would plot the sine function: </p><pre>
plot sin(x)
</pre><p>Ranges for the axes of a graph can be specified by placing them in square brackets before the name of the function to be plotted. An example of this syntax would be: </p><pre>
plot [-pi:pi] sin(x)
</pre><p>which would plot the function <img src="images/img-0026.png" alt="$\sin (x)$" style="vertical-align:-4px;
width:45px;
height:18px" class="math gen" /> between <img src="images/img-0633.png" alt="$-\pi $" style="vertical-align:0px;
width:24px;
height:8px" class="math gen" /> and <img src="images/img-0140.png" alt="$\pi $" style="vertical-align:0px;
width:11px;
height:8px" class="math gen" />. </p><p>Data files may also be plotted as well as functions, in which case the filename of the data file to be plotted should be enclosed in either single or double quotation marks. An example of this syntax would be: </p><pre>
plot 'data.dat' with points
</pre><p>which would plot data from the file <tt class="tt">data.dat</tt>. Section <a href="sec-plot_datafiles.html">3.8</a> provides further details of the format that input data files should take and how Pyxplot may be directed to plot only certain portions of data files. </p><p>Multiple datasets can be plotted on a single graph by specifying them in a comma-separated list, as in the example: </p><pre>
plot sin(x) with color blue, cos(x) with linetype 2
</pre><p>If the <tt class="tt">3d</tt> modifier is supplied to the <tt class="tt">plot</tt> command, then a three-dimensional plot is produced; many plot styles then take additional columns of data to signify the positions of datapoints along the <img src="images/img-0110.png" alt="$z$" style="vertical-align:0px;
width:9px;
height:8px" class="math gen" />-axis. This is described further in Chapter <a href="ch-plotting.html">1</a>. The angle from which three-dimensional plots are viewed can be set using the <tt class="tt">set view</tt> command. </p></div>
<div class="contents section-contents"><!--<strong>Subsections</strong>-->
<ul>
<li><a href="sect0132.html">1.42.1 axes</a>
</li><li><a href="sect0133.html">1.42.2 label</a>
</li><li><a href="sect0134.html">1.42.3 title</a>
</li><li><a href="sect0135.html">1.42.4 with</a>
</li>
</ul>
</div>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0130.html" title="piechart"><img alt="Previous: piechart" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="ch-reference.html" title="Command reference"><img alt="Up: Command reference" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sect0132.html" title="axes"><img alt="Next: axes" 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>
|