Re: [Matplotlib-users] Matplotlib change xticks and retain xticks changing during zoom

2009-02-22 Thread Jae-Joon Lee
> > This is in contrast to the effect of the following code: > > try: >from math import * >import pylab as p > except: >print "Couldn't import all dependent libraries" >sys.exit() > dataLength = 100 > data = [sin(2*pi*x/dataLength) for x in range(0,dataLength)] > p.p

[Matplotlib-users] Matplotlib change xticks and retain xticks changing during zoom

2009-02-22 Thread Dean Wheatley
Hello, I execute the following code: try: from math import * import pylab as p except: print "Couldn't import all dependent libraries" sys.exit() dataLength = 100 data = [sin(2*pi*x/dataLength) for x in range(0,dataLength)] p.plot(data) p.show() This produces a f