PyFoam.Basics.GnuplotTimelines module¶
Plots a collection of timelines
-
class
PyFoam.Basics.GnuplotTimelines.GnuplotTimelines(timelines, custom, terminal='x11', showWindow=True, registry=None)[source]¶ Bases:
PyFoam.Basics.GeneralPlotTimelines.GeneralPlotTimelines,PyFoam.ThirdParty.Gnuplot._Gnuplot.GnuplotThis class opens a gnuplot window and plots a timelines-collection in it
-
__init__(timelines, custom, terminal='x11', showWindow=True, registry=None)[source]¶ Parameters: - timelines (TimeLineCollection) – The timelines object
- custom – A CustomplotInfo-object. Values in this object usually override the
other options. If the object has an attribute named gnuplotCommands (which is assumed to be a string list) then these strings are executed during initialization of the plot (the purpose of this is to set non-standard stuff) :param terminal: terminal implementation to use
-
__module__= 'PyFoam.Basics.GnuplotTimelines'¶
-
buildData(times, name, title, lastValid)[source]¶ Build the implementation specific data :param times: The vector of times for which data exists :param name: the name under which the data is stored in the timeline :param title: the title under which this will be displayed
-
doHardcopy(filename, form, termOpts='')[source]¶ Write the contents of the plot to disk :param filename: Name of the file without type extension :param form: String describing the format
-
terminalNr= 1¶
-