This file is indexed.

/usr/share/doc/pyxplot/html/sec-angles.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!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: Treatment of angles in Pyxplot</title>

<link href="sect0024.html" title="Converting between different temperature scales" rel="next" />
<link href="sec-units.html" title="Working with physical units" rel="prev" />
<link href="sec-units.html" title="Working with physical units" 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="sec-units.html" title="Working with physical units"><img alt="Previous: Working with physical units" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sec-units.html" title="Working with physical units"><img alt="Up: Working with physical units" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sect0024.html" title="Converting between different temperature scales"><img alt="Next: Converting between different temperature scales" 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-units.html">Working with physical units</a> <b>:</b>
</span>

</span><span>

<span>
<b class="current">Treatment of angles in Pyxplot</b>
</span>
</span>
<hr />
</div>

<div><h2 id="sec:angles">4.6.1 Treatment of angles in Pyxplot</h2>
<p>  <a name="a0000000469" id="a0000000469"></a><a name="a0000000470" id="a0000000470"></a> </p><p>There are a small number of cases where Pyxplot’s handling of units does not completely follow normal (i.e. SI) conventions, which require further explanation. The most obvious such case is its handling of angles. </p><p>By convention, the SI system of units does not have a base unit of angle: instead, the radian is considered to be a dimensionless unit. There are some strong mathematical reasons why this makes sense, since it makes it possible to write equations such as </p><table id="a0000000471" class="equation" width="100%" cellspacing="0" cellpadding="7">
<tr>
    
    <td style="width:40%">&nbsp;</td>
    <td><img src="images/img-0111.png" alt="\[  d=\theta r  \]" style="width:51px; 
                            height:13px" class="math gen" /></td>
    
    <td style="width:40%">&nbsp;</td>
    <td class="eqnnum" style="width:20%">&nbsp;</td>
</tr>
</table><p> and </p><table id="a0000000472" class="equation" width="100%" cellspacing="0" cellpadding="7">
<tr>
    
    <td style="width:40%">&nbsp;</td>
    <td><img src="images/img-0112.png" alt="\[  x = \exp (a+i\theta ),  \]" style="width:127px; 
                            height:18px" class="math gen" /></td>
    
    <td style="width:40%">&nbsp;</td>
    <td class="eqnnum" style="width:20%">&nbsp;</td>
</tr>
</table><p> which would otherwise have to be written as, for example, </p><table id="a0000000473" class="equation" width="100%" cellspacing="0" cellpadding="7">
<tr>
    
    <td style="width:40%">&nbsp;</td>
    <td><img src="images/img-0113.png" alt="\[  d=2\pi \left(\frac{\theta }{2\pi \, \mathrm{rad}}\right) r=\left(\frac{\theta }{\mathrm{rad}}\right) r  \]" style="width:241px; 
                            height:44px" class="math gen" /></td>
    
    <td style="width:40%">&nbsp;</td>
    <td class="eqnnum" style="width:20%">&nbsp;</td>
</tr>
</table><p> in order to be strictly dimensionally correct. </p><p>However, it also has some disadvantages since some physical quantities such as fluxes per steradian are measured per unit angle or per unit solid angle, and the SI system traditionally<a href="#a0000000474" class="footnote"><sup class="footnotemark">1</sup></a> offers no way to dimensionally distinguish these from one another or from quantities with no angular dependence. In addition, many of Pyxplot’s vector graphics commands take rotation angles as inputs, and it is useful to express these in units of angle. </p><p>In most cases, the user is free to decide whether angles should have units. All of the following print statements are equivalent: </p><pre>
print sin(pi)
print sin(180*unit(deg))
print sin(pi *unit(rad))
print sin(0.5*unit(rev))
</pre><p>However, it is useful to be able to define whether inverse trigonometric functions such as <tt class="tt">asin(x)</tt> and <tt class="tt">atan(x)</tt> return results with units of angle, or which are dimensionless. By default, these functions return dimensionless results, but this may be changed using the commands: </p><pre>
set unit angle dimensionless
set unit angle nodimensionless
</pre><p>Note that even when inverse trigonometric functions are set to return dimensionless outputs, expressions such as <tt class="tt">unit(rad)+1</tt> are still dimensionally incorrect. Functions such as <tt class="tt">sin(x)</tt> and <tt class="tt">exp(x)</tt> can always accept inputs which are either dimensionless, or have units of angle. </p></div>



<div id="footnotes">
<p><b>Footnotes</b></p>
<ol>
<li id="a0000000474">Radians are sometimes treated in the SI system as <i class="it">supplementary</i> or derived units.</li>
</ol>
</div>

<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sec-units.html" title="Working with physical units"><img alt="Previous: Working with physical units" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sec-units.html" title="Working with physical units"><img alt="Up: Working with physical units" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sect0024.html" title="Converting between different temperature scales"><img alt="Next: Converting between different temperature scales" 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>