This file is indexed.

/usr/share/doc/pyxplot/html/sect0278.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: 2012 Aug 1: Pyxplot 0.9.0</title>

<link href="sect0279.html" title="2011 Jan 7: Pyxplot 0.8.4" rel="next" />
<link href="sect0277.html" title="2012 Aug 29: Pyxplot 0.9.1" rel="prev" />
<link href="sect0275.html" title="ChangeLog" 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="sect0277.html" title="2012 Aug 29: Pyxplot 0.9.1"><img alt="Previous: 2012 Aug 29: Pyxplot 0.9.1" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

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

<td><a href="sect0279.html" title="2011 Jan 7: Pyxplot 0.8.4"><img alt="Next: 2011 Jan 7: Pyxplot 0.8.4" 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="sect0260.html">Appendices</a> <b>:</b>
</span>

</span><span>
<span>
<a href="sect0275.html">ChangeLog</a> <b>:</b>
</span>

</span><span>

<span>
<b class="current">2012 Aug 1: Pyxplot 0.9.0</b>
</span>
</span>
<hr />
</div>

<div><h2 id="a0000000279">2012 Aug 1: Pyxplot 0.9.0</h2>
<p>Version 0.9 is a major update. Many new data types have been introduced, each of which has methods which can be called in an object-orientated fashion. These include: </p><ul class="itemize">
<li><p><b class="bf">Colors</b>, which can be stored in variables for subsequent use in vector graphics commands. The addition and subtraction operators act on colors to allow color mixing. </p></li><li><p><b class="bf">Dates</b>, which can be imported from calendar dates, unix times or Julian dates. Dates can be subtracted to give time intervals. </p></li><li><p><b class="bf">Lists</b> and <b class="bf">dictionaries</b>, which can be iterated over, or used to feed calculated data into the <tt class="tt">plot</tt> and <tt class="tt">tabulate</tt> commands. </p></li><li><p><b class="bf">Vectors</b> and <b class="bf">matrices</b>, which allow matrix algebra. These types interface cleanly with Pyxplot’s vector-graphics commands, allowing positions to be specified as vector expressions. </p></li><li><p><b class="bf">File handles</b>, which allow Pyxplot to read data from files, or write data or logs to files. </p></li><li><p><b class="bf">Modules</b> and <b class="bf">classes</b>, which allow object-orientated programming. </p></li>
</ul><p>In addition, Pyxplot’s range of operators has been extended to include most of those in the C programming language, allowing expressions such as </p><p> <tt class="ttfamily">pyxplot&gt; <b class="bfseries">print (a=3)+(b=2)</b></tt><br /><tt class="ttfamily">5</tt><br /><tt class="ttfamily">pyxplot&gt; <b class="bfseries">print a<img src="images/img-0035.png" alt="$&gt;$" style="vertical-align:0px; 
                                     width:12px; 
                                     height:11px" class="math gen" />0?"yes":"no"</b></tt><br /><tt class="ttfamily">yes</tt><br /><tt class="ttfamily">pyxplot&gt; <b class="bfseries">print "%s  %s"%(++a,b++)</b></tt><br /><tt class="ttfamily">4  2</tt><br /><tt class="ttfamily">pyxplot&gt; <b class="bfseries">print (a+=10 , b+=10 , a+b)</b></tt><br /><tt class="ttfamily">27</tt>   </p><p>to be written. </p><h3 id="a0000001831">Incompatibilities with Pyxplot 0.8</h3>
<p>The extensions to Pyxplot in version 0.9 mean that some minor changes to syntax have been necessary. These include: </p><ul class="itemize">
<li><p>Some functions and variables have been renamed. Variables whose names used to begin <tt class="tt">phy_</tt> now live in a module called <tt class="tt">phy</tt>. They may be accessed as, for example, <tt class="tt">phy.c</tt>. Similarly, random number generating functions now live in a module called <tt class="tt">random</tt>; statistics functions in a module called <tt class="tt">stats</tt>; time-handling functions in <tt class="tt">time</tt>; operating system functions in <tt class="tt">os</tt>; and astronomy functions in <tt class="tt">ast</tt>. The contents of these modules can be listed by typing, for example, <tt class="tt">print phy</tt>. </p></li><li><p>Custom colors, which used to be specified using syntax such as <tt class="tt">rgb0.2:0.3:0.4</tt>, should now be specified using the <tt class="tt">rgb(r,g,b)</tt> functions, as, for example, <tt class="tt">rgb(0.2,0.3,0.4)</tt>. Custom colors can now be stored in variables for later use (see Section <a href="sec-colorObjects.html">6.6</a>). </p></li><li><p>The range of escape characters which can be used in strings has been increased, so that, for example, <tt class="tt"><img src="images/img-0038.png" alt="$\backslash $" style="vertical-align:-5px; 
                                     width:7px; 
                                     height:18px" class="math gen" />n</tt> is a newline and <tt class="tt"><img src="images/img-0038.png" alt="$\backslash $" style="vertical-align:-5px; 
                                     width:7px; 
                                     height:18px" class="math gen" />t</tt> a tab. As in python, prepending the string with the character <tt class="tt">r</tt> disables all escape character expansion. As backslashes are common characters in latex command strings, the easiest approach is to always prepend latex strings with an <tt class="tt">r</tt>. As in python, triple quotes, e.g. <tt class="tt">r"""2 <img src="images/img-0038.png" alt="$\backslash $" style="vertical-align:-5px; 
                                     width:7px; 
                                     height:18px" class="math gen" />times 3"""</tt> can be used where required (see Section <a href="sec-latex_incompatibility.html">3.6</a>). </p></li><li><p>In the <tt class="tt">foreach</tt> command, square brackets should be used to delimit lists of items to iterate over. The Pyxplot 0.8 syntax <tt class="tt">foreach i in (1,2,3)</tt> should now be written <tt class="tt">foreach i in [1,2,3]</tt> (see Section <a></a>). </p></li>
</ul></div>





<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0277.html" title="2012 Aug 29: Pyxplot 0.9.1"><img alt="Previous: 2012 Aug 29: Pyxplot 0.9.1" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

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

<td><a href="sect0279.html" title="2011 Jan 7: Pyxplot 0.8.4"><img alt="Next: 2011 Jan 7: Pyxplot 0.8.4" 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>