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

Class _Contour


Class used to plot a contour of data.
Method Summary
  __init__(self, data, contours, ncontours, cfunc, high, low, irange, fsize, font, jrange, xrange, yrange, color, linewidth, linestyle, clabc, clabi, clabm, tr, clab)
Initialization function for Contour.
  _pix2world(self, px, py)
Retunr the world coordinates corresponding to pixel coordinates px and py.
  plot(self)
Plot the contour.
  range(self)
Return the xrange and yrange that would allow all the data to be plotted.

Method Details

__init__(self, data, contours=None, ncontours=10, cfunc=<function Linear at 0x894a5b4>, high=None, low=None, irange=None, fsize=1.0, font=1, jrange=None, xrange=None, yrange=None, color='white', linewidth=1, linestyle=1, clabc='white', clabi=40, clabm=10, tr=None, clab=None)
(Constructor)

Initialization function for Contour.
Parameters:
data - A 2-D array to contour
           (type=2D array)
contours -

_pix2world(self, px, py)

Retunr the world coordinates corresponding to pixel coordinates px and py.

plot(self)

Plot the contour.

range(self)

Return the xrange and yrange that would allow all the data to be plotted.

Generated by Epydoc 2.1 on Thu Feb 17 15:17:27 2005 http://epydoc.sf.net