belinda thom wrote: > Hi, > > I could've sworn I recently read about how to draw a line on a plot > in such a way that you see it regardless of what the axis ranges are.
If you need horizontal or vertical lines specified in normalized coordinates (0 to 1 spans the axes) then you can use the Axes.axhline() and Axes.axvline() methods or their pylab function counterparts. There are also methods for specifying the length of the line in normalized coordinates and the position in data coordinates: axhspan() and axvspan(). See examples/axhspan.py for examples of both types using the pylab interface. Eric ------------------------------------------------------------------------- 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