From: Jeff W. <js...@fa...> - 2005-01-26 18:04:01
|
Nils Wagner wrote: > Hi all, > > How can I add vertical/horizontal lines (x=constant, y=constant > respectively) to an existing plot with matplotlib ? > A small example would be appreciated. See http://matplotlib.sourceforge.net/matplotlib.pylab.html#-axhline and http://matplotlib.sourceforge.net/matplotlib.pylab.html#-axvline > > Is there a simple command to plot closed polygons, which are defined > by the coordinates of the vertices ? > http://matplotlib.sourceforge.net/matplotlib.pylab.html#-fill See axhspan_demo.py and fill_demo.py for example usage. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/CDC R/CDC1 Email : Jef...@no... 325 Broadway Web : www.cdc.noaa.gov/~jsw Boulder, CO, USA 80303-3328 Office : Skaggs Research Cntr 1D-124 |