From: Alan G I. <ai...@am...> - 2004-09-07 07:24:51
|
When I run this script from scipy import * from matplotlib.matlab import * def f(x): return 2*x**3-5*x x=(arange(2001)-1000)/100.0 plot(x,f(x)) axis([-10,10,-20,20]) show() plot(x,f(x)) axis([-2,2,-5,5]) show() I get an odd placement of the zero on the x axis in the second plot. If I cut out the first plot, this does not happen. How am I causing this? Thank you, Alan Isaac |