__init__(self,
parent,
x,
y,
linestyle=None,
linewidth=None,
color=None,
label=None)
(Constructor)
Initialization function for Line.
-
- Parameters:
x -
an array of x world coordinates for the line segments
(type=float array)
y -
an array of y world coordinates for the line segments
(type=float array)
linestyle -
Linestyle to use when drawing the line (defaults to global
value)
(type=integer)
linewidth -
Linewidth to use for drawing the line (defaults to global
value)
(type=integer)
color -
The color use (defaults to global color)
(type=integer or string)
label -
optional label for a legend
(type=string.)
|