Table of Contents

Class: ArrayFile ./PlotItems.py

A file to which, upon creation, an array is written.

When an ArrayFile is constructed, it creates a file and fills it with the contents of a 2-d or 3-d Numeric array in the format expected by gnuplot (see write_array() for details). The filename can be specified, otherwise a random filename is chosen. The file is NOT deleted automatically.

Base Classes   
AnyFile
Methods   
__init__
  __init__ 
__init__ (
        self,
        set,
        filename=None,
        )

Create a file and write an array to it.

Arguments:

set

a Numeric array of arbitrary dimension.

filename

the (optional) name of the file to which the array should be written. If filename is not specified, a random filename is chosen.


Table of Contents

This document was automatically generated on Fri Jan 26 13:13:18 2001 by HappyDoc version r0_9_2