/usr/share/doc/pyxplot/html/sect0031.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 117 118 119 120 121 122 123 124 125 126 | <!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: Programming and Flow Control</title>
<link href="sec-stringvars.html" title="String Variables" rel="next" />
<link href="sect0030.html" title="Random Data Generation" rel="prev" />
<link href="sect0001.html" title="Introduction to PyXPlot" 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="sect0030.html" title="Random Data Generation"><img alt="Previous: Random Data Generation" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="sect0001.html" title="Introduction to PyXPlot"><img alt="Up: Introduction to PyXPlot" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sec-stringvars.html" title="String Variables"><img alt="Next: String Variables" 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="sect0001.html">Introduction to PyXPlot</a> <b>:</b>
</span>
</span><span>
<span>
<b class="current">Programming and Flow Control</b>
</span>
</span>
<hr />
</div>
<div><h1 id="a0000000032">6 Programming and Flow Control</h1>
<p>In this chapter we describe the facilities which PyXPlot has for automating repetitive tasks. We begin by introducing string variables, which can be useful for auto-generating titles and labels for graphs which are being produced in batch jobs. We then discuss the loop constructs which make it possible to run such batch jobs, producing similar plots of many different datafiles or performing calculations in an iterative fashion. Finally, we turn to PyXPlot’s interaction with the shell and filing system in which it operates, introducing a simple framework for automatically re-executing PyXPlot scripts whenever they change, allowing plots to be automatically regenerated whenever the scripts used to produce them are modified. </p></div>
<div class="contents chapter-contents"><!--<strong>Subsections</strong>-->
<ul>
<li><a href="sec-stringvars.html">6.1 String Variables</a>
<ul>
<li><a href="sec-stringsubop.html">6.1.1 The String Substitution Operator</a>
</li><li><a href="sect0032.html">6.1.2 Regular Expressions</a>
</li><li><a href="sect0033.html">6.1.3 String Manipulation Functions</a>
</li>
</ul>
</li><li><a href="sect0034.html">6.2 Conditionals</a>
</li><li><a href="sect0035.html">6.3 For Loops</a>
</li><li><a href="sect0036.html">6.4 Foreach Loops</a>
</li><li><a href="ex-meansd.html">6.5 Foreach Datum Loops</a>
</li><li><a href="sect0037.html">6.6 While and Do Loops</a>
</li><li><a href="sec-breakcontinue.html">6.7 The <tt class="tt">break</tt> and <tt class="tt">continue</tt> statements</a>
</li><li><a href="sect0038.html">6.8 Conditional Functions</a>
</li><li><a href="ex-pendulum.html">6.9 Subroutines</a>
</li><li><a href="ex-macro.html">6.10 Macros</a>
</li><li><a href="sect0039.html">6.11 The <tt class="tt">exec</tt> command<a name="a0000000601" id="a0000000601"></a></a>
</li><li><a href="sect0040.html">6.12 Assertions</a>
</li><li><a href="sect0041.html">6.13 Shell Commands</a>
</li><li><a href="sect0042.html">6.14 Script Watching: pyxplot_watch</a>
</li>
</ul>
</div>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0030.html" title="Random Data Generation"><img alt="Previous: Random Data Generation" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="sect0001.html" title="Introduction to PyXPlot"><img alt="Up: Introduction to PyXPlot" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sec-stringvars.html" title="String Variables"><img alt="Next: String Variables" 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>
|