Table of Contents

Class: File Gnuplot/PlotItems.py

A PlotItem representing a file that contains gnuplot data.

Base Classes   
PlotItem
Methods   
__init__
set_option_binary
set_option_using
  __init__ 
__init__ (
        self,
        file,
        **keyw,
        )

Construct a File object.

<file> can be either a string holding the filename of an existing file, or it can be an object of any class derived from AnyFile (such as a TempArrayFile).

Keyword arguments:

using=&lt;int&gt;
plot that column against line number
using=&lt;tuple&gt;
plot using a:b:c:d etc.
using=&lt;string&gt;
plot `using <string>' (allows gnuplot's arbitrary column arithmetic)
binary=&lt;boolean&gt;
data in file is in binary format (only recognized for grid data for splot).
smooth=&lt;string&gt;
smooth the data. Option should be unique, csplines, acsplines, bezier, or sbezier.

The keyword arguments recognized by PlotItem can also be used here.

Note that the using option is interpreted by gnuplot, so columns must be numbered starting with 1. The default title for a TempFile is notitle to avoid using the temporary file's name as the title.

Exceptions   
Errors.OptionError('file argument (%s) must be a file object or filename' %( file, ) )
  set_option_binary 
set_option_binary ( self,  binary )

Exceptions   
Errors.OptionError( 'Gnuplot.py is currently configured to reject binary data' )
  set_option_using 
set_option_using ( self,  using )

Exceptions   
Errors.OptionError('using=%s' %( using, ) )

Table of Contents

This document was automatically generated on Mon Jul 29 17:26:13 2002 by HappyDoc version 2.0.1