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

Class _ErrorBar


A class used by the Plot class to store information about drawing errorbars
Method Summary
  __init__(self, x, y, dy1, dy2, dx1, dx2, linestyle, linewidth, color)
Initialization function for ErrorBar.
  plot(self)
Plot the errorbars.

Method Details

__init__(self, x, y, dy1=None, dy2=None, dx1=None, dx2=None, linestyle=1, linewidth=1, color='white')
(Constructor)

Initialization function for ErrorBar. If dy1 and dy2 are specified, you get uneven errorbars (unless dy1 = dy2). If you only specify dy1, you get symmetric errorbars. Same goes for dx1 and dx2
Parameters:
x - an array of x world coordinates for the errorbars
           (type=float array)
y - an array of y world coordinates for the errorbars
           (type=float array)
dy1 - an array of upper limits for the y errorbars
           (type=float array)
dy2 - an array of lower limits for the y errorbars
           (type=float array)
dx1 - an array of upper limits for the x errorbars
           (type=float array)
dx2 - an array of lower limits for the x errorbars
           (type=float array)
linestyle - Linestyle to use when drawing the errorbars (defaults to global value)
           (type=integer)
linewidth - Linewidth to use for drawing the errorbars (defaults to global value)
           (type=integer)
color - The color use (defaults to global color)
           (type=integer or string)

plot(self)

Plot the errorbars. Usually called from the parent class.

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