Package esys :: Package pyvisi :: Package renderers :: Package vtk :: Module plot :: Class Plot
[show private | hide private]
[frames | no frames]

Type Plot

object --+        
         |        
      Item --+    
             |    
          Item --+
                 |
                Plot

Known Subclasses:
ArrowPlot, ArrowPlot3D, Axes, BallPlot, ContourPlot, EllipsoidPlot, IsosurfacePlot, LinePlot, OffsetPlot, SurfacePlot

Abstract plot class
Method Summary
  __init__(self, scene)
Initialisation of the abstract Plot class
  render(self)
Render the Plot object
  setData(self, *dataList, **options)
Set data to the plot
  setLabel(self, axis, label)
Set the label of a given axis
  setTitle(self, title)
Set the plot title
  setXLabel(self, label)
Set the label of the x-axis
  setYLabel(self, label)
Set the label of the y-axis
  setZLabel(self, label)
Set the label of the z-axis
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

__init__(self, scene)
(Constructor)

Initialisation of the abstract Plot class
Parameters:
scene - The Scene to render the plot in
           (type=Scene object)
Overrides:
esys.pyvisi.renderers.vtk.item.Item.__init__

render(self)

Render the Plot object
Overrides:
esys.pyvisi.item.Item.render

setData(self, *dataList, **options)

Set data to the plot
Parameters:
dataList - List of data to set to the plot
           (type=tuple)
options - Dictionary of extra options
           (type=dict)

setLabel(self, axis, label)

Set the label of a given axis
Parameters:
axis - string (Axis object maybe??) of the axis (e.g. x, y, z)
           (type=string or Axis object)
label - string of the label to set for the axis
           (type=string)

setTitle(self, title)

Set the plot title
Parameters:
title - the string holding the title to the plot
           (type=string)

setXLabel(self, label)

Set the label of the x-axis
Parameters:
label - the string holding the label of the x-axis
           (type=string)

setYLabel(self, label)

Set the label of the y-axis
Parameters:
label - the string holding the label of the y-axis
           (type=string)

setZLabel(self, label)

Set the label of the z-axis
Parameters:
label - the string holding the label of the z-axis
           (type=string)

Generated by Epydoc 2.1 on Thu Apr 27 11:16:26 2006 http://epydoc.sf.net