Re: [Matplotlib-users] How to draw a straight line?

2007-03-06 Thread Jouni K . Seppänen
[EMAIL PROTECTED] writes: > How do I draw a line going from point A to point B on a figure (not > plot reference frame), with a particular color and style? Give a transform=gcf().transFigure argument to plot: http://www.scipy.org/Cookbook/Matplotlib/Transformations If your line goes outside the

[Matplotlib-users] How to draw a straight line?

2007-03-06 Thread kc106_2005-matplotlib
Hi list, Must be a dumb question: How do I draw a line going from point A to point B on a figure (not plot reference frame), with a particular color and style? I scan through the manual and nothing jumped out - closest is Rectangle but that doesn't accept style parameter. Thanks, -- John Hen