This file is indexed.

/usr/share/doc/pyxplot/html/sec-pastable.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
<!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: Creating pastable text</title>

<link href="ex-calculus.html" title="Numerical integration and differentiation" rel="next" />
<link href="sect0026.html" title="Changing the accuracy to which numbers are displayed" rel="prev" />
<link href="sec-unitdisp.html" title="Configuring how numbers are displayed" 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="sect0026.html" title="Changing the accuracy to which numbers are displayed"><img alt="Previous: Changing the accuracy to which numbers are displayed" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sec-unitdisp.html" title="Configuring how numbers are displayed"><img alt="Up: Configuring how numbers are displayed" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="ex-calculus.html" title="Numerical integration and differentiation"><img alt="Next: Numerical integration and differentiation" 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="sect0001.html">Introduction to PyXPlot</a> <b>:</b>
</span>

</span><span>
<span>
<a href="sect0022.html">Performing calculations</a> <b>:</b>
</span>

</span><span>
<span>
<a href="sec-unitdisp.html">Configuring how numbers are displayed</a> <b>:</b>
</span>

</span><span>

<span>
<b class="current">Creating pastable text</b>
</span>
</span>
<hr />
</div>

<div><h2 id="sec:pastable">4.7.3 Creating pastable text</h2>
<p>Pyxplot’s default convention of displaying numbers in a format such as </p><pre>
(2+3i) meters
</pre><p>is well-suited for creating text which is readable by human users, but is less well-suited for creating text which can be copied and pasted into another calculation in another Pyxplot terminal, or for creating text which could be used in a latex text label on a plot. For this reason, the <tt class="tt">set numerics display</tt> command<a name="a0000000493" id="a0000000493"></a> allows the user to choose between three different ways in which numbers can be displayed: </p><p> <tt class="ttfamily">pyxplot&gt; <b class="bfseries">set numerics display natural</b></tt><br /><tt class="ttfamily">pyxplot&gt; <b class="bfseries">print phy.c</b></tt><br /><tt class="ttfamily">299792.46 km/s</tt><br /><tt class="ttfamily">pyxplot&gt; <b class="bfseries">set numerics display typeable</b></tt><br /><tt class="ttfamily">pyxplot&gt; <b class="bfseries">print phy.c</b></tt><br /><tt class="ttfamily">299792.46*unit(km/s)</tt><br /><tt class="ttfamily">pyxplot&gt; <b class="bfseries">set numerics display latex</b></tt><br /><tt class="ttfamily">pyxplot&gt; <b class="bfseries">print phy.c</b></tt><br /><tt class="ttfamily">$299792.46<img src="images/img-0038.png" alt="$\backslash $" style="vertical-align:-5px; 
                                     width:7px; 
                                     height:18px" class="math gen" />,<img src="images/img-0038.png" alt="$\backslash $" style="vertical-align:-5px; 
                                     width:7px; 
                                     height:18px" class="math gen" />mathrm{km}/<img src="images/img-0038.png" alt="$\backslash $" style="vertical-align:-5px; 
                                     width:7px; 
                                     height:18px" class="math gen" />mathrm{s}$</tt>   </p><p>The first case is the default way in which Pyxplot displays numbers. The second case produces text which forms a valid algebraic expression which could be pasted into another Pyxplot calculation. The final case produces a string of latex text which could be used as a label on a plot. </p></div>





<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0026.html" title="Changing the accuracy to which numbers are displayed"><img alt="Previous: Changing the accuracy to which numbers are displayed" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sec-unitdisp.html" title="Configuring how numbers are displayed"><img alt="Up: Configuring how numbers are displayed" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="ex-calculus.html" title="Numerical integration and differentiation"><img alt="Next: Numerical integration and differentiation" 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>