Package PyFoam :: Package ThirdParty :: Package Gnuplot :: Module gp_unix
[hide private]
[frames] | no frames]

Module gp_unix

source code

gp_unix -- an interface to gnuplot used for unix platforms.

This file implements a low-level interface to a gnuplot program for a unix platform (actually it is used for any non-Windows, non-Mac system). This file should be imported through gp.py, which in turn should be imported via 'import Gnuplot' rather than these low-level interfaces.

Classes [hide private]
  GnuplotOpts
The configuration options for gnuplot on generic platforms.
  GnuplotProcess
Unsophisticated interface to a running gnuplot program.
Functions [hide private]
 
test_persist()
Determine whether gnuplot recognizes the option '-persist'.
source code
Function Details [hide private]

test_persist()

source code 

Determine whether gnuplot recognizes the option '-persist'.

If the configuration variable 'recognizes_persist' is set (i.e., to something other than 'None'), return that value. Otherwise, try to determine whether the installed version of gnuplot recognizes the -persist option. (If it doesn't, it should emit an error message with '-persist' in the first line.) Then set 'recognizes_persist' accordingly for future reference.