This file is indexed.

/usr/share/doc/pyxplot/html/sect0071.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
<!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: The text Command</title>

<link href="ex-nanotubes.html" title="The arrow and line Commands" rel="next" />
<link href="sect0070.html" title="Adding Other Vector Graphics Objects" rel="prev" />
<link href="sect0070.html" title="Adding Other Vector Graphics Objects" 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="sect0070.html" title="Adding Other Vector Graphics Objects"><img alt="Previous: Adding Other Vector Graphics Objects" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sect0070.html" title="Adding Other Vector Graphics Objects"><img alt="Up: Adding Other Vector Graphics Objects" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="ex-nanotubes.html" title="The arrow and line Commands"><img alt="Next: The arrow and line Commands" 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="sect0043.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>
<a href="sect0070.html">Adding Other Vector Graphics Objects</a> <b>:</b>
</span>

</span><span>

<span>
<b class="current">The <tt class="tt">text</tt> Command</b>
</span>
</span>
<hr />
</div>

<div><h2 id="a0000000072">3.4.1 The <tt class="tt">text</tt> Command</h2>
<p>Text labels may be added to multiplot canvases using the <tt class="tt">text</tt> command<a name="a0000000937" id="a0000000937"></a>. This has the following syntax: </p><pre>
text 'This is some text' at x,y
</pre><p>In this case, the string ‘This is some text’ would be rendered at position <img src="images/img-0188.png" alt="$(x,y)$" style="vertical-align:-4px; 
                                     width:40px; 
                                     height:18px" class="math gen" /> on the multiplot. As with the <tt class="tt">set label</tt> command<a name="a0000000938" id="a0000000938"></a>, a colour may optionally be specified with the <tt class="tt">with colour</tt> modifier, as well as a rotation angle to rotate text labels through any given angle, measured in degrees counter-clockwise. For example:<a name="a0000000939" id="a0000000939"></a> </p><pre>
text 'This is some text' at x,y rotate r with colour red
</pre><p>The commands <tt class="tt">set textcolour</tt><a name="a0000000940" id="a0000000940"></a>, <tt class="tt">set texthalign</tt><a name="a0000000941" id="a0000000941"></a> and <tt class="tt">set textvalign</tt><a name="a0000000942" id="a0000000942"></a> can be used to set the colour and alignment of the text produced with the <tt class="tt">text</tt> command<a name="a0000000943" id="a0000000943"></a>. Alternatively, the <tt class="tt">text</tt> command<a name="a0000000944" id="a0000000944"></a> takes three modifiers to control the alignment of the text which override these <tt class="tt">set</tt> commands. The <tt class="tt">halign</tt> and <tt class="tt">valign</tt> modifiers may be followed by any of the settings which may follow the <tt class="tt">set texthalign</tt> and <tt class="tt">set textvalign</tt> commands respectively, as in the following examples: </p><pre>
text 'This is some text' at 0,0 halign left valign top
text 'This is some text' at 0,0 halign right valign centre
</pre><p>The <tt class="tt">gap</tt> modifier allows a gap to be inserted in the alignment of the text. For example, the string <tt class="tt">halign left gap 3*unit(mm)</tt> would cause text to be rendered with its left side <img src="images/img-0568.png" alt="$3\, \mathrm{mm}$" style="vertical-align:0px; 
                                     width:42px; 
                                     height:12px" class="math gen" /> to the right of the position specified for the text. This is useful for labelling points on diagrams, where the labels should be slightly offset from the points that they are associated with. If the <tt class="tt">gap</tt> modifier is followed by a dimensionless number, rather than one with dimensions of lengths, then it is assumed to be measured in centimetres. </p><p>It should be noted that the <tt class="tt">text</tt> command<a name="a0000000945" id="a0000000945"></a> can also be used outside of the multiplot environment, to render a single piece of short text instead of a graph. One obvious application is to produce equations rendered as graphical files which can subsequently be imported into documents, slideshows or webpages.<a name="a0000000946" id="a0000000946"></a> </p></div>





<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0070.html" title="Adding Other Vector Graphics Objects"><img alt="Previous: Adding Other Vector Graphics Objects" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sect0070.html" title="Adding Other Vector Graphics Objects"><img alt="Up: Adding Other Vector Graphics Objects" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="ex-nanotubes.html" title="The arrow and line Commands"><img alt="Next: The arrow and line Commands" 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>