PyFoam.ThirdParty.Gnuplot.gp_cygwin module

gp_cygwin – an interface to gnuplot for cygwin under Windows.

This is identical to gp_win32.py except that prefer_inline_data is set.

class PyFoam.ThirdParty.Gnuplot.gp_cygwin.GnuplotOpts[source]

Bases: object

The configuration options for gnuplot under windows.

See gp_unix.py for details about the meaning of these options. Please let me know if you know better choices for these settings.

__dict__ = mappingproxy({'__weakref__': <attribute '__weakref__' of 'GnuplotOpts' objects>, '__doc__': 'The configuration options for gnuplot under windows.\n\n See gp_unix.py for details about the meaning of these options.\n Please let me know if you know better choices for these settings.\n\n ', 'default_lpr': 'PRN', '__module__': 'PyFoam.ThirdParty.Gnuplot.gp_cygwin', 'gnuplot_command': 'pgnuplot.exe', 'recognizes_persist': 0, 'recognizes_binary_splot': 1, 'default_term': 'windows', 'prefer_inline_data': 1, '__dict__': <attribute '__dict__' of 'GnuplotOpts' objects>, 'prefer_enhanced_postscript': 1, 'support_fifo': 0, 'prefer_fifo_data': 0})
__module__ = 'PyFoam.ThirdParty.Gnuplot.gp_cygwin'
__weakref__

list of weak references to the object (if defined)

default_lpr = 'PRN'
default_term = 'windows'
gnuplot_command = 'pgnuplot.exe'
prefer_enhanced_postscript = 1
prefer_fifo_data = 0
prefer_inline_data = 1
recognizes_binary_splot = 1
recognizes_persist = 0
support_fifo = 0
class PyFoam.ThirdParty.Gnuplot.gp_cygwin.GnuplotProcess(persist=0)[source]

Bases: object

Unsophisticated interface to a running gnuplot program.

See gp_unix.py for usage information.

__call__(s)[source]

Send a command string to gnuplot, followed by newline.

__del__()[source]
__dict__ = mappingproxy({'__weakref__': <attribute '__weakref__' of 'GnuplotProcess' objects>, '__dict__': <attribute '__dict__' of 'GnuplotProcess' objects>, '__init__': <function GnuplotProcess.__init__>, '__doc__': 'Unsophisticated interface to a running gnuplot program.\n\n See gp_unix.py for usage information.\n\n ', '__del__': <function GnuplotProcess.__del__>, '__module__': 'PyFoam.ThirdParty.Gnuplot.gp_cygwin', 'close': <function GnuplotProcess.close>, '__call__': <function GnuplotProcess.__call__>})
__init__(persist=0)[source]

Start a gnuplot process.

Create a ‘GnuplotProcess’ object. This starts a gnuplot program and prepares to write commands to it.

Keyword arguments:

‘persist’ – the ‘-persist’ option is not supported under
Windows so this argument must be zero.
__module__ = 'PyFoam.ThirdParty.Gnuplot.gp_cygwin'
__weakref__

list of weak references to the object (if defined)

close()[source]
PyFoam.ThirdParty.Gnuplot.gp_cygwin.test_persist()[source]