[newb] axes hold question

I have sets of data to plot on semilogy. I want the minimum y axis set to
some value, say 10e-10.

I do:
   axis([0,1,1e-10,1])
   hold(True)
   for (whatever):
     semilogy (x, y)
   grid()
   legend()
   show()

But the data is not clipped in y from [1e-10..1] as I wanted. What's wrong
here?

semilogy calls the autoscale machinery, so you either need to call
"axis" at the end, or turn off autoscaling after you have set it:

ax.set_autoscale_on(False)

JDH

···

On Fri, May 9, 2008 at 9:38 AM, Neal Becker <ndbecker2@...287...> wrote:

I have sets of data to plot on semilogy. I want the minimum y axis set to
some value, say 10e-10.

I do:
  axis([0,1,1e-10,1])
  hold(True)
  for (whatever):
    semilogy (x, y)
  grid()
  legend()
  show()