/usr/share/doc/pyxplot/html/sect0221.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 | <!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: text</title>
<link href="sect0222.html" title="undelete" rel="next" />
<link href="sect0220.html" title="tabulate" 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="sect0220.html" title="tabulate"><img alt="Previous: tabulate" 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="sect0222.html" title="undelete"><img alt="Next: undelete" 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">text</b>
</span>
</span>
<hr />
</div>
<div><h1 id="a0000000222">1.53 text</h1>
<p><a name="a0000001353" id="a0000001353"></a> </p><pre>
text [ item <id> ] '<text string>' [ at <x>, <y> ]
[ rotate <angle> ] [ gap <gap> ]
[ halign <alignment> ] [ valign <alignment> ]
[ with colour <colour> ]
</pre><p>The <tt class="tt">text</tt> command<a name="a0000001354" id="a0000001354"></a> allows strings of text to a added as labels on multiplot canvases. The example </p><pre>
text 'Hello World!' at 0,2
</pre><p>would render the text ‘Hello World!’ at position <img src="images/img-0638.png" alt="$(0,2)$" style="vertical-align:-4px;
width:38px;
height:18px" class="math gen" />, measured in centimetres. The alignment of the text item with respect to this position can be set using the <tt class="tt">set texthalign</tt> and <tt class="tt">set textvalign</tt> commands, or using the <tt class="tt">halign</tt> and <tt class="tt">valign</tt> modifiers supplied to the <tt class="tt">text</tt> command itself. </p><p>A gap may be specified, which should either have dimensions of length, or be dimensionless, in which case it is interpreted as being measured in centimetres. If a gap is specified, then the text string is slightly displaced from the specified position, in the direction in which it is being aligned. </p><p>A rotation angle may optionally be specified after the keyword <tt class="tt">rotate</tt> to produce text rotated to any arbitrary angle, measured in degrees counter-clockwise. The following example would produce upward-running text: </p><pre>
text 'Hello' at 1.5, 3.6 rotate 90
</pre><p>By default the text is black; however, an arbitrary colour may be specified using the <tt class="tt">with colour</tt> modifier. For example: </p><pre>
text 'A purple label' at 0, 0 with colour purple
</pre><p>would add a purple label at the origin of the multiplot. </p><p>Outside of multiplot mode, the text command can be used to produce images consisting simply of one single text item. This can be useful for importing L<sup style="font-variant:small-caps; margin-left:-0.3em">a</sup>T<sub style="text-transform:uppercase; margin-left:-0.2em">e</sub>Xed equations as gif images into slideshow programs such as Microsoft Powerpoint which are incapable of producing such neat mathematical notation by themselves. </p><p>All vector graphics objects placed on multiplot canvases receive unique identification numbers which count sequentially from one, and which may be listed using the <tt class="tt">list</tt> command. By reference to these numbers, they can be deleted and subsequently restored with the <tt class="tt">delete</tt> and <tt class="tt">undelete</tt> commands respectively. </p></div>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0220.html" title="tabulate"><img alt="Previous: tabulate" 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="sect0222.html" title="undelete"><img alt="Next: undelete" 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>
|