/usr/share/doc/pyxplot/html/sect0123.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 | <!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: replot</title>
<link href="sect0124.html" title="reset" rel="next" />
<link href="sect0122.html" title="point" 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="sect0122.html" title="point"><img alt="Previous: point" 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="sect0124.html" title="reset"><img alt="Next: reset" 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>
<b class="current">replot</b>
</span>
</span>
<hr />
</div>
<div><h1 id="a0000000124">1.44 replot</h1>
<p><a name="a0000001107" id="a0000001107"></a> </p><pre>
replot [ item <id> ] ...
</pre><p>The <tt class="tt">replot</tt> command<a name="a0000001108" id="a0000001108"></a> has the same syntax as the <tt class="tt">plot</tt> command and is used to add more datasets to an existing plot, or to change its axis ranges. For example, having plotted one datafile using the command </p><pre>
plot 'datafile1.dat'
</pre><p>another can be plotted on the same axes using the command </p><pre>
replot 'datafile2.dat' using 1:3
</pre><p>or the ranges of the axes on the original plot can be changed using the command </p><pre>
replot [0:1][0:1]
</pre><p>The plot is also updated to reflect any changes to settings made using the <tt class="tt">set</tt> command. In multiplot mode, the <tt class="tt">replot</tt> command<a name="a0000001109" id="a0000001109"></a> can likewise be used to modify the last plot added to the page. For example, the following would change the title of the latest plot to ‘foo’, and add a plot of the function <img src="images/img-0411.png" alt="$g(x)$" style="vertical-align:-4px;
width:32px;
height:18px" class="math gen" /> to it: </p><pre>
set title 'foo'
replot cos(x)
</pre><p>Additionally, in multiplot mode it is possible to modify any plot on the current multiplot canvas by adding an <tt class="tt">item</tt> modifier to the <tt class="tt">replot</tt> statement to specify which plot should be replotted. The following example would produce two plots, and then add an additional function to the first plot: </p><pre>
set multiplot
plot f(x)
set origin 10,0
plot g(x)
replot item 1 h(x)
</pre><p>If no <tt class="tt">item</tt> number is specified, then the <tt class="tt">replot</tt> command<a name="a0000001110" id="a0000001110"></a> acts by default upon the most recent plot to have been added to the multiplot canvas. </p></div>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0122.html" title="point"><img alt="Previous: point" 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="sect0124.html" title="reset"><img alt="Next: reset" 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>
|