Module pygplot :: Class _Point
[show private | hide private]
[frames | no frames]

Class _Point

_Object --+
          |
         _Point


Class used by Plot to store information about drawing points.
Method Summary
  __init__(self, parent, x, y, symbol, size, color, label, linewidth)
Initialization for Point class.
  plot(self)
Plot the symbols.
  range(self)
Get the plotting range such that all the symbols would be visible.
    Inherited from _Object
  __getattr__(self, name)

Method Details

__init__(self, parent, x, y, symbol=None, size=None, color=None, label=None, linewidth=None)
(Constructor)

Initialization for Point class.
Parameters:
x - an array of x world coordinates of the points
           (type=float array)
y - an array of y world coordinates of the points
           (type=float array)
symbol - Symbol to use when drawing the points (default: 0)
           (type=integer)
size - Size of the symbol. (defaults to global value)
           (type=float)
color - The color use (defaults to global color)
           (type=integer or string)
label - optional label for a lengend
           (type=string)

plot(self)

Plot the symbols. Normall called by the parent class.

range(self)

Get the plotting range such that all the symbols would be visible.

Generated by Epydoc 2.1 on Tue Sep 25 12:14:23 2007 http://epydoc.sf.net