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

Module gp_macosx

source code

gp_macosx -- an interface to the command line version of gnuplot used under Mac OS X.

The only difference between this interface and gp_unix is that default_term is 'aqua'.

This file implements a low-level interface to gnuplot. This file should be imported through gp.py, which in turn should be imported via 'import Gnuplot' rather than using these low-level interfaces directly.

Classes [hide private]
  GnuplotOpts
The configuration options for gnuplot on Mac OS X.
  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.