matplotlib.lines
index
/home/jdhunter/python/projects/matplotlib/matplotlib/lines.py

This module contains all the 2D line primititive classes, including
the dispatcher class that returns line instances from a format string.

 
Modules
            
gtk.gdk
gtk
Numeric
pygtk
 
Classes
            
Line2D
ConnectedLine2D
DashDotLine2D
DashedLine2D
DottedLine2D
SolidLine2D
SymbolLine2D
CircleLine2D
PlusLine2D
PointLine2D
SquareLine2D
TriangleDownLine2D
TriangleLeftLine2D
TriangleRightLine2D
TriangleUpLine2D
__builtin__.dict(__builtin__.object)
Line2D_Dispatcher
 
class CircleLine2D(SymbolLine2D)
       
  
Method resolution order:
CircleLine2D
SymbolLine2D
Line2D

Methods defined here:
__init__(self, x, y, *args, **kargs)
_draw(self, xt, yt, widget, gc)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from SymbolLine2D:
get_fill(self)
get_size(self)
set_fill(self, fill)
set_size(self, size)

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class ConnectedLine2D(Line2D)
      ConnectedLine2D is just a type info holder, so you can, for
example, ask an axes for all the connected lines it contains
 
   Data and non-method functions defined here:
__doc__ = '\n ConnectedLine2D is just a type info holder,...axes for all the connected lines it contains\n '
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from Line2D:
__init__(self, x, y, lineWidth=1, color=<GdkColor>)
_draw(self, *args)
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class DashDotLine2D(ConnectedLine2D)
       
  
Method resolution order:
DashDotLine2D
ConnectedLine2D
Line2D

Methods defined here:
__init__(self, x, y, *args, **kargs)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from Line2D:
_draw(self, *args)
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class DashedLine2D(ConnectedLine2D)
       
  
Method resolution order:
DashedLine2D
ConnectedLine2D
Line2D

Methods defined here:
__init__(self, x, y, *args, **kargs)
_draw(self, xt, yt, widget, gc)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class DottedLine2D(ConnectedLine2D)
      this is connected because there can be dots between the x,y points
 
  
Method resolution order:
DottedLine2D
ConnectedLine2D
Line2D

Methods defined here:
__init__(self, x, y, *args, **kargs)
_draw(self, xt, yt, widget, gc)
set_spacing(self, spacing)

Data and non-method functions defined here:
__doc__ = 'this is connected because there can be dots between the x,y points'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class Line2D
       
   Methods defined here:
__init__(self, x, y, lineWidth=1, color=<GdkColor>)
_draw(self, *args)
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
 
class Line2D_Dispatcher(__builtin__.dict)
       
  
Method resolution order:
Line2D_Dispatcher
__builtin__.dict
__builtin__.object

Methods defined here:
__init__(self)

Data and non-method functions defined here:
__dict__ = <dict-proxy object>
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__weakref__ = <member '__weakref__' of 'Line2D_Dispatcher' objects>
_dispatcher = {'+': <class matplotlib.lines.PlusLine2D>, '-': <class matplotlib.lines.SolidLine2D>, '--': <class matplotlib.lines.DashedLine2D>, '-.': <class matplotlib.lines.DashDotLine2D>, '.': <class matplotlib.lines.PointLine2D>, ':': <class matplotlib.lines.DottedLine2D>, '<': <class matplotlib.lines.TriangleLeftLine2D>, '>': <class matplotlib.lines.TriangleRightLine2D>, '^': <class matplotlib.lines.TriangleUpLine2D>, 'o': <class matplotlib.lines.CircleLine2D>, ...}
dict() -> new empty dictionary.
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs.
dict(seq) -> new dictionary initialized as if via:
    d = {}
    for k, v in seq:
        d[k] = v
_sharedState = {}
dict() -> new empty dictionary.
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs.
dict(seq) -> new dictionary initialized as if via:
    d = {}
    for k, v in seq:
        d[k] = v

Methods inherited from __builtin__.dict:
__cmp__(...)
x.__cmp__(y) <==> cmp(x,y)
__contains__(...)
x.__contains__(y) <==> y in x
__delitem__(...)
x.__delitem__(y) <==> del x[y]
__eq__(...)
x.__eq__(y) <==> x==y
__ge__(...)
x.__ge__(y) <==> x>=y
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__gt__(...)
x.__gt__(y) <==> x>y
__hash__(...)
x.__hash__() <==> hash(x)
__iter__(...)
x.__iter__() <==> iter(x)
__le__(...)
x.__le__(y) <==> x<=y
__len__(...)
x.__len__() <==> len(x)
__lt__(...)
x.__lt__(y) <==> x<y
__ne__(...)
x.__ne__(y) <==> x!=y
__repr__(...)
x.__repr__() <==> repr(x)
__setitem__(...)
x.__setitem__(i, y) <==> x[i]=y
clear(...)
D.clear() -> None.  Remove all items from D.
copy(...)
D.copy() -> a shallow copy of D
get(...)
D.get(k[,d]) -> D[k] if D.has_key(k), else d.  d defaults to None.
has_key(...)
D.has_key(k) -> 1 if D has a key k, else 0
items(...)
D.items() -> list of D's (key, value) pairs, as 2-tuples
iteritems(...)
D.iteritems() -> an iterator over the (key, value) items of D
iterkeys(...)
D.iterkeys() -> an iterator over the keys of D
itervalues(...)
D.itervalues() -> an iterator over the values of D
keys(...)
D.keys() -> list of D's keys
popitem(...)
D.popitem() -> (k, v), remove and return some (key, value) pair as a
2-tuple; but raise KeyError if D is empty
setdefault(...)
D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if not D.has_key(k)
update(...)
D.update(E) -> None.  Update D from E: for k in E.keys(): D[k] = E[k]
values(...)
D.values() -> list of D's values

Data and non-method functions inherited from __builtin__.dict:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from __builtin__.object:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__reduce__(...)
helper for pickle
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__str__(...)
x.__str__() <==> str(x)

Data and non-method functions inherited from __builtin__.object:
__class__ = <type 'type'>
the object's class
 
class PlusLine2D(SymbolLine2D)
       
  
Method resolution order:
PlusLine2D
SymbolLine2D
Line2D

Methods defined here:
__init__(self, x, y, *args, **kargs)
_draw(self, xt, yt, widget, gc)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from SymbolLine2D:
get_fill(self)
get_size(self)
set_fill(self, fill)
set_size(self, size)

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class PointLine2D(SymbolLine2D)
       
  
Method resolution order:
PointLine2D
SymbolLine2D
Line2D

Methods defined here:
__init__(self, x, y, symbolSize=4, symbolFill=1, *args, **kargs)
_draw(self, xt, yt, widget, gc)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from SymbolLine2D:
get_fill(self)
get_size(self)
set_fill(self, fill)
set_size(self, size)

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class SolidLine2D(ConnectedLine2D)
       
  
Method resolution order:
SolidLine2D
ConnectedLine2D
Line2D

Methods defined here:
__init__(self, x, y, *args, **kargs)
_draw(self, xt, yt, widget, gc)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class SquareLine2D(SymbolLine2D)
       
  
Method resolution order:
SquareLine2D
SymbolLine2D
Line2D

Methods defined here:
__init__(self, x, y, *args, **kargs)
_draw(self, xt, yt, widget, gc)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from SymbolLine2D:
get_fill(self)
get_size(self)
set_fill(self, fill)
set_size(self, size)

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class SymbolLine2D(Line2D)
       
   Methods defined here:
__init__(self, x, y, symbolSize=5, symbolFill=0, *args, **kargs)
_draw(self, *args)
get_fill(self)
get_size(self)
set_fill(self, fill)
set_size(self, size)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class TriangleDownLine2D(SymbolLine2D)
       
  
Method resolution order:
TriangleDownLine2D
SymbolLine2D
Line2D

Methods defined here:
__init__(self, x, y, *args, **kargs)
_draw(self, xt, yt, widget, gc)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from SymbolLine2D:
get_fill(self)
get_size(self)
set_fill(self, fill)
set_size(self, size)

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class TriangleLeftLine2D(SymbolLine2D)
       
  
Method resolution order:
TriangleLeftLine2D
SymbolLine2D
Line2D

Methods defined here:
__init__(self, x, y, *args, **kargs)
_draw(self, xt, yt, widget, gc)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from SymbolLine2D:
get_fill(self)
get_size(self)
set_fill(self, fill)
set_size(self, size)

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class TriangleRightLine2D(SymbolLine2D)
       
  
Method resolution order:
TriangleRightLine2D
SymbolLine2D
Line2D

Methods defined here:
__init__(self, x, y, *args, **kargs)
_draw(self, xt, yt, widget, gc)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from SymbolLine2D:
get_fill(self)
get_size(self)
set_fill(self, fill)
set_size(self, size)

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
class TriangleUpLine2D(SymbolLine2D)
       
  
Method resolution order:
TriangleUpLine2D
SymbolLine2D
Line2D

Methods defined here:
__init__(self, x, y, *args, **kargs)
_draw(self, xt, yt, widget, gc)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'matplotlib.lines'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from SymbolLine2D:
get_fill(self)
get_size(self)
set_fill(self, fill)
set_size(self, size)

Methods inherited from Line2D:
_is_sorted(self, x)
return true if x is sorted
_set_clip(self)
draw(self, widget, gc, transfunc=<function _identity_transform>)
flush_clip(self)
get_color(self)
get_line_width(self)
get_x(self)
get_y(self)
set_color(self, color)
set_line_width(self, w)
set_vertical_offset(self, voff)
set_xclip(self, xmin, xmax)
set_yclip(self, ymin, ymax)
 
Functions
            
_identity_transform(x, y)
 
Data
             __file__ = './matplotlib/lines.pyc'
__name__ = 'matplotlib.lines'
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)
generators = _Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 4096)