[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 axes, you will want to do something like l=plot([...], [...], transform=gcf().transFigure) setp(l, clip_on=False) For some reason the clip_on keyword argument to plot does not have an effect. This is probably a bug. -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users