This file is indexed.

/usr/share/doc/pyxplot/html/sect0023.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
<!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: Variables</title>

<link href="sec-constants.html" title="Physical constants" rel="next" />
<link href="sect0022.html" title="Performing calculations" rel="prev" />
<link href="sect0022.html" title="Performing calculations" 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="sect0022.html" title="Performing calculations"><img alt="Previous: Performing calculations" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sect0022.html" title="Performing calculations"><img alt="Up: Performing calculations" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sec-constants.html" title="Physical constants"><img alt="Next: Physical constants" 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>
<b class="current">Variables</b>
</span>
</span>
<hr />
</div>

<div><h1 id="a0000000024">4.1 Variables</h1>
<p>Variables can be assigned to hold numerical values using syntax of the form </p><pre> a = 5.2 * sqrt(64) </pre><p>which may optionally be written in longhand as<a name="a0000000439" id="a0000000439"></a> </p><pre> let a = 5.2 * sqrt(64) </pre><p>Variables can subsequently be used by name in mathematical expressions, for example: </p><pre> print a / sqrt(64) </pre><p>Having been defined, variables can later be undefined – set to have no value – using syntax of the form: </p><pre> a = </pre><p>Variables can also hold non-numeric data, such as strings, colors, dates, lists and dictionaries. The syntax for defining many of these data structures is similar to that used by python, for example: </p><pre>
myList = [8,2,1,7]
myDict = {'john':27 , 'fred':14 , 'lisa':myList}
myDate = time.fromCalendar(2012,7,1,14,30,0)
</pre><p>More information about Pyxplot’s data types can be found in Chapter <a href="chap-progDataTypes.html">6</a>. </p><p>A list of all of the variables which are currently defined can be obtained by typing <tt class="tt">show variables</tt><a name="a0000000440" id="a0000000440"></a>. Some constants are pre-defined by Pyxplot, and so a number of variables are listed even if none have been set by the user. </p></div>





<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0022.html" title="Performing calculations"><img alt="Previous: Performing calculations" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sect0022.html" title="Performing calculations"><img alt="Up: Performing calculations" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sec-constants.html" title="Physical constants"><img alt="Next: Physical constants" 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>