Re: [Matplotlib-users] How do I make the ticks go from 0 to 100?

2008-04-01 Thread Jeff Whitaker
Carl Wenrich wrote: > Thanks, Jeff. The hlines work fine. But the ylim doesn't change > anything. I still get a plot that goes from 20 to 90 instead of 0 to > 100. Here's my code. Please take a quick look and tell me where I have > to put the ylim statement. > > fig = figure(figsize=(6,2)) > tit

Re: [Matplotlib-users] How do I make the ticks go from 0 to 100?

2008-04-01 Thread Jeff Whitaker
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

[Matplotlib-users] How do I make the ticks go from 0 to 100?

2008-04-01 Thread carlwenrich
I have a dataset where the values range from 20 to 90, but I want the y coordinates to go from 0 to 100. Also, how can I draw a highlight (colored line) across the chart at 30, and another at 70? -- View this message in context: http://www.nabble.com/How-do-I-make-the-ticks-go-from-0-to-100--tp1