__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)
|