From: Karl-Heinz G. <gl...@kh...> - 2004-08-21 10:13:52
|
Hallo, it seems to me that the scaling of the Y-axis gets wrong if the y-values are below 1e-4. (Release 0.61.0, OS=Windows 2000 SP4, Python 2.3.4, actual wxPython Release) The previous release did not show this behavior. Example Code: import wx import matplotlib matplotlib.use('WXAgg') #with TK it is the same... from matplotlib.matlab import * t1 = arange(0.0, 5.0, 0.1) figure(1) subplot(211) plot(t2, cos(2*pi*t2), 'r') grid(1) ylabel('As expected') title('Y-axis scaling OK') subplot(212) plot(t2, 1e-4*cos(2*pi*t2), 'r') ylabel('A lot of zeros') title('Y-axis scaling wrong, should be 1e-4') grid(1) show() Here you can find a screenshot (about 50 kByte) at http://home.arcor.de/glahe/Screenshot.jpg Best regards, Kalle. |