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.
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.
|
|