| Home | Trees | Indices | Help |
|
|---|
|
|
Curve stores the information for a curve in the plot There are three ways of forming x and y data lists. (1) r and g(r) from a single refinement are vectors by themselves (2) A scalar data item (any item other than r and g(r)) can form a vector if multiple timeSteps (refinement steps) are specified. (3) A scalar data item (any item other than r and g(r)) can form a vector if multiple refinement (multiple ids) are specified name -- The curve name plotwnd -- The window where the curve is drawn xStr -- Data name (string) for x axis yStr -- Data name (string) for y axis steps -- refinement step list ids -- The list of object ids that the curve is related to offset -- curve displacement in y direction style --The drawing style of the curve xData, yData -- data to be plotted x, y -- original data for exporting (curve could be shifted) bMultiData -- if the curve data comes from multiple data objects bMultiStep -- if the curve data comes from multiple refinement step ref -- reference of curve in the plot window initialized -- if curve has been inserted dataChanged -- if curve data has changed
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
initialize name -- The curve name plotwnd -- The window where the curve is drawn xStr -- Data name (string) for x axis yStr -- Data name (string) for y axis steps -- refinement step list ids -- The list of object ids that the curve is related to offset -- curve displacement in y direction style --The drawing style of the curve |
validate(self) --> check if the curve is valid. Validity is broken: (1) when xStr or yStr doesn't refer to a legal vector (2) when sizes of xStr and yStr don't match |
Register self as dataListener in control center
|
notify Curve object certain data is updated changedIds -- objects to which changed data is associated with |
draw the curve in the graph. It will make sure the data is OK, and plot to the screen. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Fri Apr 10 19:11:01 2009 | http://epydoc.sourceforge.net |