This file is indexed.

/usr/share/doc/pyxplot/html/sect0238.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
108
109
110
111
112
113
114
115
116
<!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 Typesetting of Text</title>

<link href="sect0239.html" title="Complex Numbers" rel="next" />
<link href="ch-gnuplot_diffs.html" title="Summary of Differences Between PyXPlot and Gnuplot" rel="prev" />
<link href="ch-gnuplot_diffs.html" title="Summary of Differences Between PyXPlot and Gnuplot" 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="ch-gnuplot_diffs.html" title="Summary of Differences Between PyXPlot and Gnuplot"><img alt="Previous: Summary of Differences Between PyXPlot and Gnuplot" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="ch-gnuplot_diffs.html" title="Summary of Differences Between PyXPlot and Gnuplot"><img alt="Up: Summary of Differences Between PyXPlot and Gnuplot" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sect0239.html" title="Complex Numbers"><img alt="Next: Complex Numbers" 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="sect0230.html">Appendices</a> <b>:</b>
</span>

</span><span>
<span>
<a href="ch-gnuplot_diffs.html">Summary of Differences Between PyXPlot and Gnuplot</a> <b>:</b>
</span>

</span><span>

<span>
<b class="current">The Typesetting of Text</b>
</span>
</span>
<hr />
</div>

<div><h1 id="a0000000239">B.1 The Typesetting of Text</h1>
<p>PyXPlot renders all text labels automatically in the 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>X typesetting environment. This brings many advantages: it produces neater labels than the default typesetting engine used by Gnuplot, makes it straightforward to label graphs with mathematical expressions, and moreover makes it straightforward when importing graphs into 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>X documents to match the fonts used in figures with those used in the main text of the document. It does, however, also necessarily introduce some incompatibility with Gnuplot. Some strings which are valid in Gnuplot are not valid in PyXPlot (see Section <a href="sec-latex_incompatibility.html">3.6</a> for more details). For example,<a name="a0000001663" id="a0000001663"></a> </p><p><table cellspacing="0" class="tabular">
<tr>

    
    <td style="text-align:left"><p><img src="images/img-0029.png" alt="\includegraphics{cross}" style="width:20px; height:24px" />
</p></td>

    
    <td style="text-align:left"><p><div style="width:0.0pt" class="minipage"><tt class="tt"> set xlabel ’x<img src="images/img-0024.png" alt="\^{}" style="vertical-align:9px; width:5px; height:4px" class="accent gen" />2’ </tt></div></p></td>

</tr>
</table> </p><p>is a valid label in Gnuplot, but is not valid input for 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>X and therefore fails in PyXPlot. In PyXPlot, it needs to be written in 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>X mathmode as: </p><p><table cellspacing="0" class="tabular">
<tr>

    
    <td style="text-align:left"><p><img src="images/img-0030.png" alt="\includegraphics{tick}" style="width:19px; height:17px" />
</p></td>

    
    <td style="text-align:left"><p><div style="width:0.0pt" class="minipage"><tt class="tt"> set xlabel ’$x<img src="images/img-0024.png" alt="\^{}" style="vertical-align:9px; width:5px; height:4px" class="accent gen" />2$’ </tt></div></p></td>

</tr>
</table> </p><p>A useful introduction to 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>X’s syntax can be found in Tobias Oetiker’s<a name="a0000001664" id="a0000001664"></a> excellent free tutorial, <i class="it">The Not So Short Guide to 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><img src="images/img-0013.png" alt="$2\epsilon $" style="vertical-align:0px; 
                                     width:15px; 
                                     height:12px" class="math gen" /></i><a name="a0000001665" id="a0000001665"></a>, which is available for free download from: </p><p>http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf </p><p>PyXPlot’s built-in <tt class="tt">texify()</tt> function can also assist by automatically converting mathematical expressions and strings of text into 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>X, as in the following examples: </p><p> <tt class="tt">pyxplot&gt; <b class="bf">a=50</b></tt><br /><tt class="tt">pyxplot&gt; <b class="bf">print texify("A %d% increase"%(a))</b></tt><br /><tt class="tt">A 50<img src="images/img-0006.png" alt="$\backslash $" style="vertical-align:-5px; 
                                     width:7px; 
                                     height:18px" class="math gen" />% increase</tt><br /><tt class="tt">pyxplot&gt; <b class="bf">print texify(sqrt(x**2+1))</b></tt><br /><tt class="tt">$<br />displaystyle <img src="images/img-0006.png" alt="$\backslash $" style="vertical-align:-5px; 
                                     width:7px; 
                                     height:18px" class="math gen" />sqrt{x<img src="images/img-0024.png" alt="\^{}" style="vertical-align:9px; width:5px; height:4px" class="accent gen" />{2}+1}$</tt>  </p></div>





<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="ch-gnuplot_diffs.html" title="Summary of Differences Between PyXPlot and Gnuplot"><img alt="Previous: Summary of Differences Between PyXPlot and Gnuplot" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="ch-gnuplot_diffs.html" title="Summary of Differences Between PyXPlot and Gnuplot"><img alt="Up: Summary of Differences Between PyXPlot and Gnuplot" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sect0239.html" title="Complex Numbers"><img alt="Next: Complex Numbers" 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>