sourceforge.net
> Subject: Re: [Matplotlib-users] How to draw a straight line?
>
>
> On 3/7/07, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
>
> > Upon working with this a little further, I discover that it
> works only
> > in full-view screen mode.
On 3/7/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Upon working with this a little further, I discover that it works only in
> full-view screen mode. May be that's because xy is in pixel mode then? When
> I save it to a png file and then view it, the lines are wrong.
The default coords
]" <[EMAIL PROTECTED]>
To: matplotlib-users@lists.sourceforge.net
Sent: Wednesday, March 7, 2007 9:40:45 AM
Subject: Re: [Matplotlib-users] How to draw a straight line?
Thanks for the answer, John and Jouni.
Okay, Line2D works. However, it appears to work in point (or is it pixels?)
onl
by Jouni. I am afraid I am lost what that
does
Regards,
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of John Hunter
> Sent: Wednesday, March 07, 2007 6:48 AM
> To: matplotlib-users@lists.sourceforge.net
> Subject: Re: [Matp
On 3/6/07, Jouni K. Seppänen <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] writes:
> > How do I draw a line going from point A to point B on a figure (not
It probably makes more sense not to use Axes.plot at all, since the
line is not associated with an Axes
from matplotlib.lines import Line2D
f
[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
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