1
2 """Plots a collection of timelines"""
3
4 from PyFoam.Error import warning,error
5
6 from PyFoam.Basics.CustomPlotInfo import readCustomPlotInfo,CustomPlotInfo
7
8 from GeneralPlotTimelines import GeneralPlotTimelines
9
10 from os import uname
11
13 """This class doesn't open a window and plots nothing"""
14
15 - def __init__(self,
16 timelines,
17 custom,
18 showWindow=True,
19 registry=None):
20 """@param timelines: The timelines object
21 @type timelines: TimeLineCollection
22 @param custom: A CustomplotInfo-object. Values in this object usually override the
23 other options
24 """
25
26 GeneralPlotTimelines.__init__(self,timelines,custom,showWindow=showWindow,registry=registry)
27
28 self.redo()
29
30 - def buildData(self,times,name,title,lastValid):
31 """Build the implementation specific data
32 @param times: The vector of times for which data exists
33 @param name: the name under which the data is stored in the timeline
34 @param title: the title under which this will be displayed"""
35
36 pass
37
39 """Prepare the plotting window"""
40
41 pass
42
44 """Replot the whole data"""
45
46 pass
47
49 """Sets the title"""
50
51 pass
52
54 """Sets the label on the first Y-Axis"""
55
56 pass
57
59 """Sets the label on the second Y-Axis"""
60
61 pass
62
64 """Write the contents of the plot to disk
65 @param filename: Name of the file without type extension
66 @param form: String describing the format"""
67
68 pass
69