~ubuntu-branches/ubuntu/trusty/python-gnuplot/trusty

« back to all changes in this revision

Viewing changes to doc/PlotItems.py_File.html

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2002-04-11 08:52:48 UTC
  • Revision ID: james.westby@ubuntu.com-20020411085248-r5kbl460aa2g9kdb
Tags: upstream-1.5
ImportĀ upstreamĀ versionĀ 1.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
 
 
3
        <head>
 
4
        <title>Class: File</title>
 
5
        </head>
 
6
 
 
7
        <body bgcolor="#ffffff">
 
8
 
 
9
        <p><i><a href="index.html">Table of Contents</a></i></p>
 
10
        
 
11
        <table border="0" cellpadding="5" cellspacing="0" width="100%">
 
12
        <tr bgcolor="#88bbee">
 
13
            <th rowspan="2"
 
14
                valign="top"
 
15
                align="left"
 
16
                width="10%"><font color="#000000">Class: File</font>
 
17
            </th>
 
18
            <th align="right"><font color="#000000">./PlotItems.py</font></th>
 
19
        </tr>
 
20
        <tr>
 
21
        <td>
 
22
        <p>A PlotItem representing a file that contains gnuplot data.</p>
 
23
 
 
24
        
 
25
        <table border="0" cellpadding="5" cellspacing="0" width="100%%">
 
26
        
 
27
        <tr>
 
28
            <th bgcolor="#99ccff"
 
29
                rowspan="2"
 
30
                valign="top"
 
31
                align="left"
 
32
                width="20%"
 
33
                >
 
34
                <font color="#000000">
 
35
                  <a name="Base Classes">Base Classes</a>&nbsp;
 
36
                </font>
 
37
            </th>
 
38
            <th bgcolor="#99ccff"
 
39
                valign="top"
 
40
                align="left"
 
41
                >
 
42
                <font color="#000000">&nbsp;</font>
 
43
            </th>
 
44
        </tr>
 
45
        <tr>
 
46
        <td>
 
47
        
 
48
<a href="PlotItems.py_PlotItem.html">PlotItem</a><br>
 
49
 
 
50
 
 
51
        </td>
 
52
        </tr>
 
53
        </table>
 
54
                
 
55
        <table border="0" cellpadding="5" cellspacing="0" width="100%%">
 
56
        
 
57
        <tr>
 
58
            <th bgcolor="#99ccff"
 
59
                rowspan="2"
 
60
                valign="top"
 
61
                align="left"
 
62
                width="20%"
 
63
                >
 
64
                <font color="#000000">
 
65
                  <a name="Methods">Methods</a>&nbsp;
 
66
                </font>
 
67
            </th>
 
68
            <th bgcolor="#99ccff"
 
69
                valign="top"
 
70
                align="left"
 
71
                >
 
72
                <font color="#000000">&nbsp;</font>
 
73
            </th>
 
74
        </tr>
 
75
        <tr>
 
76
        <td>
 
77
        
 
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>
 
81
 
 
82
 
 
83
        <tr>
 
84
            <th bgcolor="#99ccff"
 
85
                rowspan="2"
 
86
                valign="top"
 
87
                align="left"
 
88
                width="20%"
 
89
                >
 
90
                <font color="#000000">
 
91
                  <a name="__init__"></a>&nbsp;
 
92
                </font>
 
93
            </th>
 
94
            <th bgcolor="#99ccff"
 
95
                valign="top"
 
96
                align="left"
 
97
                >
 
98
                <font color="#000000">__init__&nbsp;</font>
 
99
            </th>
 
100
        </tr>
 
101
        <tr>
 
102
        <td>
 
103
        <pre>
 
104
__init__ (
 
105
        self,
 
106
        file,
 
107
        **keyw,
 
108
        )
 
109
 
 
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>
 
114
 
 
115
<p>        Keyword arguments:</p>
 
116
<dl><dt>            <code>using=<int></code></dt><dd><p>plot that column against line number</p>
 
117
 
 
118
</dd>
 
119
<dt>            <code>using=<tuple></code></dt><dd><p>plot using a:b:c:d etc.</p>
 
120
 
 
121
</dd>
 
122
<dt>            <code>using=<string></code></dt><dd><p>plot `using <string>' (allows gnuplot's
 
123
                arbitrary column arithmetic)</p>
 
124
 
 
125
</dd>
 
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>
 
128
 
 
129
</dd>
 
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>
 
133
 
 
134
</dd></dl>
 
135
 
 
136
<p>        The keyword arguments recognized by <code>PlotItem</code> can also be
 
137
        used here.</p>
 
138
 
 
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>
 
143
 
 
144
 
 
145
</dd></dl>
 
146
        
 
147
        <table border="0" cellpadding="5" cellspacing="0" width="100%%">
 
148
        
 
149
        <tr>
 
150
            <th bgcolor="#99ccff"
 
151
                rowspan="2"
 
152
                valign="top"
 
153
                align="left"
 
154
                width="20%"
 
155
                >
 
156
                <font color="#000000">
 
157
                  <a name="Exceptions">Exceptions</a>&nbsp;
 
158
                </font>
 
159
            </th>
 
160
            <th bgcolor="#99ccff"
 
161
                valign="top"
 
162
                align="left"
 
163
                >
 
164
                <font color="#000000">&nbsp;</font>
 
165
            </th>
 
166
        </tr>
 
167
        <tr>
 
168
        <td>
 
169
        
 
170
<pre>
 
171
&lt;a href=&quot;PlotItems.py_OptionException.html&quot;&gt;OptionException&lt;/a&gt;
 
172
 
 
173
</pre>
 
174
 
 
175
        </td>
 
176
        </tr>
 
177
        </table>
 
178
        
 
179
        <tr>
 
180
            <th bgcolor="#99ccff"
 
181
                rowspan="2"
 
182
                valign="top"
 
183
                align="left"
 
184
                width="20%"
 
185
                >
 
186
                <font color="#000000">
 
187
                  <a name="set_option_binary"></a>&nbsp;
 
188
                </font>
 
189
            </th>
 
190
            <th bgcolor="#99ccff"
 
191
                valign="top"
 
192
                align="left"
 
193
                >
 
194
                <font color="#000000">set_option_binary&nbsp;</font>
 
195
            </th>
 
196
        </tr>
 
197
        <tr>
 
198
        <td>
 
199
        <pre>
 
200
set_option_binary ( self,  binary )
 
201
 
 
202
</pre><p>
 
203
<TABLE BORDER=1 CELLPADDING=2>
 
204
</TABLE></p>
 
205
 
 
206
 
 
207
        <tr>
 
208
            <th bgcolor="#99ccff"
 
209
                rowspan="2"
 
210
                valign="top"
 
211
                align="left"
 
212
                width="20%"
 
213
                >
 
214
                <font color="#000000">
 
215
                  <a name="set_option_using"></a>&nbsp;
 
216
                </font>
 
217
            </th>
 
218
            <th bgcolor="#99ccff"
 
219
                valign="top"
 
220
                align="left"
 
221
                >
 
222
                <font color="#000000">set_option_using&nbsp;</font>
 
223
            </th>
 
224
        </tr>
 
225
        <tr>
 
226
        <td>
 
227
        <pre>
 
228
set_option_using ( self,  using )
 
229
 
 
230
</pre><p>
 
231
<TABLE BORDER=1 CELLPADDING=2>
 
232
</TABLE></p>
 
233
 
 
234
        
 
235
        <table border="0" cellpadding="5" cellspacing="0" width="100%%">
 
236
        
 
237
        <tr>
 
238
            <th bgcolor="#99ccff"
 
239
                rowspan="2"
 
240
                valign="top"
 
241
                align="left"
 
242
                width="20%"
 
243
                >
 
244
                <font color="#000000">
 
245
                  <a name="Exceptions">Exceptions</a>&nbsp;
 
246
                </font>
 
247
            </th>
 
248
            <th bgcolor="#99ccff"
 
249
                valign="top"
 
250
                align="left"
 
251
                >
 
252
                <font color="#000000">&nbsp;</font>
 
253
            </th>
 
254
        </tr>
 
255
        <tr>
 
256
        <td>
 
257
        
 
258
<pre>
 
259
OptionException('using=%s' %( using, ) )
 
260
 
 
261
</pre>
 
262
 
 
263
        </td>
 
264
        </tr>
 
265
        </table>
 
266
        </td></tr>
 
267
        </td>
 
268
        </tr>
 
269
        </table>
 
270
        
 
271
        </td>
 
272
        </tr>
 
273
        </table>
 
274
 
 
275
        <hr>
 
276
 
 
277
        <p><i><a href="index.html">Table of Contents</a></i></p>
 
278
 
 
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>
 
281
 
 
282
        </body>
 
283
        </html>
 
284
        
 
 
b'\\ No newline at end of file'