Re: [Matplotlib-users] plotting a matplotlib.lines.Line2D instance directly

2008-11-29 Thread Alan G Isaac
On 11/29/2008 7:48 AM TP apparently wrote: > In my own application, I want to specialize matplotlib.lines.Line2D to be > able to deal with units. > Concerning this class, is there a direct means to plot instances? There must be. I have not done this, but looking at http://matplotlib.sourceforge.

Re: [Matplotlib-users] plotting a matplotlib.lines.Line2D instance directly

2008-11-29 Thread John Hunter
On Sat, Nov 29, 2008 at 6:48 AM, TP <[EMAIL PROTECTED]> wrote: > Hi everybody, > > In my own application, I want to specialize matplotlib.lines.Line2D to be > able to deal with units. > Concerning this class, is there a direct means to plot instances? > > For example, if I do: > a=matplotlib.l

[Matplotlib-users] plotting a matplotlib.lines.Line2D instance directly

2008-11-29 Thread TP
Hi everybody, In my own application, I want to specialize matplotlib.lines.Line2D to be able to deal with units. Concerning this class, is there a direct means to plot instances? For example, if I do: >>> a=matplotlib.lines.Line2D([5,6],[7,8],color='m') To plot it, I have not found another way