From: João L. S. <js...@fc...> - 2009-01-26 15:05:08
|
Jan Müller wrote: > Hi, > > The simple code snippet at the end of this mail should plot a single line. > I can confirm this bug on Ubuntu running matplotlib svn revision 6827. However I think it doesn't have to do with the log-scale but with the big variations on the x-scale and the custom xscale. I've reproduced a similar behavior with the following script (pan and zoom to see the buggy behavior). -------------------- import numpy as np import matplotlib.pyplot as plt x = np.array([1.0,2.0,3.0,1.0E5,2.0E5]) y = np.arange(len(x)) plt.plot(x,y) plt.xlim(xmin=2,xmax=6) plt.show() -------------------- Best Regards, João Silva |