def __init__(self, scene): """ Initialisation of LinePlot class @param scene: The scene with which to associate the plot @type scene: Scene object """ debugMsg("Called LinePlot.__init__()") Plot.__init__(self, scene) # initialisation of base class self.renderer = scene.renderer self.title = None self.xlabel = None self.ylabel = None self.zlabel = None self.linestyle = None # pyvisi-defined linestyle self._linestyle = None # renderer-specific linestyle # is the LinePlot data offset (vertically) from each other? self.offset = False # now add the object to the scene scene.add(self)
def __init__(self, scene): """ Initialisation of the ContourPlot class @param scene: The scene with which to associate the plot @type scene: Scene object """ debugMsg("Called ContourPlot.__init__()") Plot.__init__(self) # initialisation of base class self.renderer = scene.renderer self.title = None self.xlabel = None self.ylabel = None self.zlabel = None self.linestyle = None # pyvisi-defined linestyle self._linestyle = None # renderer-specific linestyle # now add the object to the scene scene.add(self)
def __init__(self): """ Initialises the axes object """ debugMsg("Called Axes.__init__()") Plot.__init__(self) # initialisation of base class