From: Jeff W. <js...@fa...> - 2008-04-01 23:06:16
|
carlwenrich wrote: > I have a dataset where the values range from 20 to 90, but I want the y > coordinates to go from 0 to 100. > import pylab pylab.ylim(0,100) > Also, how can I draw a highlight (colored line) across the chart at 30, and > another at 70? > pylab.axhline(30,color='r') pylab.axhline(70.color='r') HTH, -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |