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  : [EMAIL PROTECTED]
325 Broadway                Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to