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

Type Plot

object --+    
         |    
      Item --+
             |
            Plot

Known Subclasses:
ArrowPlot, Axes, BallPlot, ContourPlot, EllipsoidPlot, IsosurfacePlot, LinePlot, ScatterPlot, ScatterPlot3D, SurfacePlot

Abstract plot class

This is the abstract base class of all Plot objects. Renderer modules must inherit and override the methods defined here.
Method Summary
  __init__(self, scene)
Initialisation of abstract Plot class
  setData(self, *dataList)
Set data to 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 Item
  render(self)
Render the object
    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 abstract Plot class
Parameters:
scene - the scene with which to associate the Plot
           (type=Scene object)
Overrides:
esys.pyvisi.item.Item.__init__

setData(self, *dataList)

Set data to Plot
Parameters:
dataList - the data to set to the plot
           (type=tuple)

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:25 2006 http://epydoc.sf.net