PyFoam.Basics.GeneralPlotTimelines module¶
Plots a collection of timelines. General superclass for te other implementations
-
class
PyFoam.Basics.GeneralPlotTimelines.
GeneralPlotTimelines
(timelines, custom, showWindow=True, registry=None)[source]¶ Bases:
object
This class defines the interface for specific implementations of plotting
This class is moedelled after the Gnuplot-class from the Gnuplot-package
-
addVerticalMarker
(colorRGB=None, label=None)[source]¶ Add a vertical line to the graph at the current time. Optionally color it and add a label
-
buildData
(times, name, title, lastValid, tag=None)[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 :param lastValid: wether the last data entry is valid
-