4
<title>Class: File</title>
7
<body bgcolor="#ffffff">
9
<p><i><a href="index.html">Table of Contents</a></i></p>
11
<table border="0" cellpadding="5" cellspacing="0" width="100%">
12
<tr bgcolor="#88bbee">
16
width="10%"><font color="#000000">Class: File</font>
18
<th align="right"><font color="#000000">./PlotItems.py</font></th>
22
<p>A PlotItem representing a file that contains gnuplot data.</p>
25
<table border="0" cellpadding="5" cellspacing="0" width="100%%">
34
<font color="#000000">
35
<a name="Base Classes">Base Classes</a>
42
<font color="#000000"> </font>
48
<a href="PlotItems.py_PlotItem.html">PlotItem</a><br>
55
<table border="0" cellpadding="5" cellspacing="0" width="100%%">
64
<font color="#000000">
65
<a name="Methods">Methods</a>
72
<font color="#000000"> </font>
78
<a href="#__init__">__init__</a><br>
79
<a href="#set_option_binary">set_option_binary</a><br>
80
<a href="#set_option_using">set_option_using</a><br>
90
<font color="#000000">
91
<a name="__init__"></a>
98
<font color="#000000">__init__ </font>
110
</pre><dl><dt><p><strong>Construct a File object.</strong><p>
111
</dt><dd><p> <file> can be either a string holding the filename of an
112
existing file, or it can be an object of any class derived
113
from <code>AnyFile</code> (such as a <code>TempArrayFile</code>).</p>
115
<p> Keyword arguments:</p>
116
<dl><dt> <code>using=<int></code></dt><dd><p>plot that column against line number</p>
119
<dt> <code>using=<tuple></code></dt><dd><p>plot using a:b:c:d etc.</p>
122
<dt> <code>using=<string></code></dt><dd><p>plot `using <string>' (allows gnuplot's
123
arbitrary column arithmetic)</p>
126
<dt> <code>binary=<boolean></code></dt><dd><p>data in file is in binary format
127
(only recognized for grid data for splot).</p>
130
<dt> <code>smooth=<string></code></dt><dd><p>smooth the data. Option should be
131
<code>unique</code>, <code>csplines</code>, <code>acsplines</code>, <code>bezier</code>, or
132
<code>sbezier</code>.</p>
136
<p> The keyword arguments recognized by <code>PlotItem</code> can also be
139
<p> Note that the <code>using</code> option is interpreted by gnuplot, so
140
columns must be numbered starting with 1. The default <code>title</code>
141
for a TempFile is <code>notitle</code> to avoid using the temporary
142
file's name as the title.</p>
147
<table border="0" cellpadding="5" cellspacing="0" width="100%%">
150
<th bgcolor="#99ccff"
156
<font color="#000000">
157
<a name="Exceptions">Exceptions</a>
160
<th bgcolor="#99ccff"
164
<font color="#000000"> </font>
171
<a href="PlotItems.py_OptionException.html">OptionException</a>
180
<th bgcolor="#99ccff"
186
<font color="#000000">
187
<a name="set_option_binary"></a>
190
<th bgcolor="#99ccff"
194
<font color="#000000">set_option_binary </font>
200
set_option_binary ( self, binary )
203
<TABLE BORDER=1 CELLPADDING=2>
208
<th bgcolor="#99ccff"
214
<font color="#000000">
215
<a name="set_option_using"></a>
218
<th bgcolor="#99ccff"
222
<font color="#000000">set_option_using </font>
228
set_option_using ( self, using )
231
<TABLE BORDER=1 CELLPADDING=2>
235
<table border="0" cellpadding="5" cellspacing="0" width="100%%">
238
<th bgcolor="#99ccff"
244
<font color="#000000">
245
<a name="Exceptions">Exceptions</a>
248
<th bgcolor="#99ccff"
252
<font color="#000000"> </font>
259
OptionException('using=%s' %( using, ) )
277
<p><i><a href="index.html">Table of Contents</a></i></p>
279
<i>This document was automatically generated on Fri Jan 26 13:13:18 2001
280
by <a href="http://happydoc.sourceforge.net">HappyDoc</a> version r0_9_2</i>
b'\\ No newline at end of file'