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

Class _Image

_Object --+
          |
         _Image


Class used to display an image representation of data.
Method Summary
  __init__(self, parent, data, palette, transfer, irange, jrange, high, low, xrange, yrange, tr, autocut, bright, contrast)
  _pix2world(self, px, py)
Retunr the world coordinates corresponding to pixel coordinates px and py.
  change_rgb(self, palette, transfer, bright, contrast)
Change the colormap settings.
  plot(self)
Plot the image.
  range(self)
Return the xrange and yrange that would allow all the data to be plotted.
    Inherited from _Object
  __getattr__(self, name)

Method Details

_pix2world(self, px, py)

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

change_rgb(self, palette=None, transfer=None, bright=0.5, contrast=1.0)

Change the colormap settings. No call to replot() is made, so if nothing happens, it means the device doesn't support on-the-fly chaning of the color map.

plot(self)

Plot the image.

range(self)

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

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