/usr/share/doc/pyxplot/html/sect0081.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 | <!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: Editing items on the canvas</title>
<link href="sect0082.html" title="Settings associated with multiplot items" rel="next" />
<link href="ex-notice.html" title="The arrow and line commands" rel="prev" />
<link href="ch-vector_graphics.html" title="Producing vector graphics" 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="ex-notice.html" title="The arrow and line commands"><img alt="Previous: The arrow and line commands" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="ch-vector_graphics.html" title="Producing vector graphics"><img alt="Up: Producing vector graphics" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sect0082.html" title="Settings associated with multiplot items"><img alt="Next: Settings associated with multiplot items" 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="sect0056.html">Plotting and Vector Graphics</a> <b>:</b>
</span>
</span><span>
<span>
<a href="ch-vector_graphics.html">Producing vector graphics</a> <b>:</b>
</span>
</span><span>
<span>
<b class="current">Editing items on the canvas</b>
</span>
</span>
<hr />
</div>
<div><h1 id="a0000000082">3.5 Editing items on the canvas</h1>
<p>All objects on a multiplot canvas have a unique identification number. By default, these count up from one, such that the first item placed on the canvas is number one, the next is number two, and so forth. Alternatively, the user may specify a particular number for a particular object by supplying the modifier <tt class="tt">item</tt> to the <tt class="tt">plot</tt> command, followed by an integer identification number, as in the following example: </p><pre>
plot item 6 'data.dat'
</pre><p> If there were already an object on the canvas with identification numberĀ 6, this object would be deleted and replaced with the new object. </p><p>A list of all of the objects on the current multiplot canvas can be obtained using the <tt class="tt">list</tt> command<a name="a0000000973" id="a0000000973"></a>, which produces output in the following format: </p><pre>
# ID Command
1 plot item 1 'data1.dat'
2 plot item 2 'data2.dat'
3 [deleted] plot item 3 'data3.dat'
</pre><p>A multiplot canvas can be wiped clean by issuing the <tt class="tt">clear</tt> command<a name="a0000000974" id="a0000000974"></a>, which removes all items currently on the canvas. Alternatively, individual items may be removed using the <tt class="tt">delete</tt> command<a name="a0000000975" id="a0000000975"></a>, which should be followed by a comma-separated list of the identification numbers of the objects to be deleted. Deleted items may be restored using the <tt class="tt">undelete</tt> command<a name="a0000000976" id="a0000000976"></a>, which likewise takes a comma-separated list of the identification numbers of the objects to be restored, e.g.: </p><pre>
delete 1,2
undelete 2
</pre><p> Once a canvas has been cleared using the <tt class="tt">clear</tt> command<a name="a0000000977" id="a0000000977"></a>, however, there is no way to restore it. Objects may be moved around on the canvas using the <tt class="tt">move</tt> command<a name="a0000000978" id="a0000000978"></a>. For example, the following would move item 23 to position <img src="images/img-0561.png" alt="$(8,8)$" style="vertical-align:-4px;
width:38px;
height:18px" class="math gen" /> measured in inches: </p><pre>
move 23 to 8*unit(in), 8*unit(in)
</pre></div>
<div class="contents section-contents"><!--<strong>Subsections</strong>-->
<ul>
<li><a href="sect0082.html">3.5.1 Settings associated with multiplot items</a>
</li><li><a href="sect0083.html">3.5.2 Reordering multiplot items</a>
</li><li><a href="ex-nanotubes.html">3.5.3 The construction of large multiplots</a>
</li>
</ul>
</div>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="ex-notice.html" title="The arrow and line commands"><img alt="Previous: The arrow and line commands" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="ch-vector_graphics.html" title="Producing vector graphics"><img alt="Up: Producing vector graphics" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sect0082.html" title="Settings associated with multiplot items"><img alt="Next: Settings associated with multiplot items" 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>
|