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 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
|
<html>
<head>
<title>Class: File</title>
</head>
<body bgcolor="#ffffff">
<p><i><a href="../index.html">Table of Contents</a></i></p>
<table border="0" cellpadding="5" cellspacing="0" width="100%">
<tr bgcolor="#88bbee">
<th rowspan="2"
valign="top"
align="left"
width="10%"><font color="#000000">Class: File</font>
</th>
<th align="right"><font color="#000000">Gnuplot/PlotItems.py</font></th>
</tr>
<tr>
<td>
<p>A PlotItem representing a file that contains gnuplot data.</p>
<table border="0" cellpadding="5" cellspacing="0" width="100%%">
<tr>
<th bgcolor="#99ccff"
rowspan="2"
valign="top"
align="left"
width="20%"
>
<font color="#000000">
<a name="Base Classes">Base Classes</a>
</font>
</th>
<th bgcolor="#99ccff"
valign="top"
align="left"
>
<font color="#000000"> </font>
</th>
</tr>
<tr>
<td>
<a href="PlotItems.py_PlotItem.html">PlotItem</a><br>
</td>
</tr>
</table>
<table border="0" cellpadding="5" cellspacing="0" width="100%%">
<tr>
<th bgcolor="#99ccff"
rowspan="2"
valign="top"
align="left"
width="20%"
>
<font color="#000000">
<a name="Methods">Methods</a>
</font>
</th>
<th bgcolor="#99ccff"
valign="top"
align="left"
>
<font color="#000000"> </font>
</th>
</tr>
<tr>
<td>
<a href="#__init__">__init__</a><br>
<a href="#set_option_binary">set_option_binary</a><br>
<a href="#set_option_using">set_option_using</a><br>
<tr>
<th bgcolor="#99ccff"
rowspan="2"
valign="top"
align="left"
width="20%"
>
<font color="#000000">
<a name="__init__"></a>
</font>
</th>
<th bgcolor="#99ccff"
valign="top"
align="left"
>
<font color="#000000">__init__ </font>
</th>
</tr>
<tr>
<td>
<pre>
__init__ (
self,
file,
**keyw,
)
</pre><dl><dt><p><strong>Construct a File object.</strong><p>
</dt><dd><p> <file> can be either a string holding the filename of an
existing file, or it can be an object of any class derived
from <code>AnyFile</code> (such as a <code>TempArrayFile</code>).</p>
<p> Keyword arguments:</p>
<dl><dt> <code>using=<int></code></dt><dd><p>plot that column against line number</p>
</dd>
<dt> <code>using=<tuple></code></dt><dd><p>plot using a:b:c:d etc.</p>
</dd>
<dt> <code>using=<string></code></dt><dd><p>plot `using <string>' (allows gnuplot's
arbitrary column arithmetic)</p>
</dd>
<dt> <code>binary=<boolean></code></dt><dd><p>data in file is in binary format
(only recognized for grid data for splot).</p>
</dd>
<dt> <code>smooth=<string></code></dt><dd><p>smooth the data. Option should be
<code>unique</code>, <code>csplines</code>, <code>acsplines</code>, <code>bezier</code>, or
<code>sbezier</code>.</p>
</dd></dl>
<p> The keyword arguments recognized by <code>PlotItem</code> can also be
used here.</p>
<p> Note that the <code>using</code> option is interpreted by gnuplot, so
columns must be numbered starting with 1. The default <code>title</code>
for a TempFile is <code>notitle</code> to avoid using the temporary
file's name as the title.</p>
</dd></dl>
<table border="0" cellpadding="5" cellspacing="0" width="100%%">
<tr>
<th bgcolor="#99ccff"
rowspan="2"
valign="top"
align="left"
width="20%"
>
<font color="#000000">
<a name="Exceptions">Exceptions</a>
</font>
</th>
<th bgcolor="#99ccff"
valign="top"
align="left"
>
<font color="#000000"> </font>
</th>
</tr>
<tr>
<td>
<pre>
<a href="PlotItems.py_OptionException.html">OptionException</a>
</pre>
</td>
</tr>
</table>
<tr>
<th bgcolor="#99ccff"
rowspan="2"
valign="top"
align="left"
width="20%"
>
<font color="#000000">
<a name="set_option_binary"></a>
</font>
</th>
<th bgcolor="#99ccff"
valign="top"
align="left"
>
<font color="#000000">set_option_binary </font>
</th>
</tr>
<tr>
<td>
<pre>
set_option_binary ( self, binary )
</pre><p>
<TABLE BORDER=1 CELLPADDING=2>
</TABLE></p>
<tr>
<th bgcolor="#99ccff"
rowspan="2"
valign="top"
align="left"
width="20%"
>
<font color="#000000">
<a name="set_option_using"></a>
</font>
</th>
<th bgcolor="#99ccff"
valign="top"
align="left"
>
<font color="#000000">set_option_using </font>
</th>
</tr>
<tr>
<td>
<pre>
set_option_using ( self, using )
</pre><p>
<TABLE BORDER=1 CELLPADDING=2>
</TABLE></p>
<table border="0" cellpadding="5" cellspacing="0" width="100%%">
<tr>
<th bgcolor="#99ccff"
rowspan="2"
valign="top"
align="left"
width="20%"
>
<font color="#000000">
<a name="Exceptions">Exceptions</a>
</font>
</th>
<th bgcolor="#99ccff"
valign="top"
align="left"
>
<font color="#000000"> </font>
</th>
</tr>
<tr>
<td>
<pre>
OptionException('using=%s' %( using, ) )
</pre>
</td>
</tr>
</table>
</td></tr>
</td>
</tr>
</table>
</td>
</tr>
</table>
<hr>
<p><i><a href="../index.html">Table of Contents</a></i></p>
<i>This document was automatically generated on Fri Jan 26 14:06:11 2001
by <a href="http://happydoc.sourceforge.net">HappyDoc</a> version r0_9_2</i>
</body>
</html>
|