A file to which gnuplot commands can be written.
Sometimes it is convenient to write gnuplot commands to a command
file for later evaluation. In that case, one of these objects is
used as a mock gnuplot process. Note that temporary files may be
deleted before you have time to execute the file!
Members:
-
gnuplot
- the file object gathering the commands.
Methods:
-
__init__
- open the file.
-
__call__
- write a gnuplot command to the file, followed by a
newline.
-
write
- write an arbitrary string to the file.
-
flush
- cause pending output to be written immediately.
Methods
|
|
__call__
__init__
|
|
__call__
|
__call__ ( self, s )
Write a command string to the file, followed by newline.
|
|
__init__
|
__init__ ( self, filename )
Open the file for writing.
|
|