Hi,
when zooming very deep in an arbitrary curve shown in a wx.lib.PyPlot
canvas weird things happen. You can try it out very easily in the wxpython
demo. How could that be fixed?
Regards, Christian
Christian Kristukat wrote:
Hi,
when zooming very deep in an arbitrary curve shown in a wx.lib.PyPlot canvas weird things happen. You can try it out very easily in the wxpython demo. How could that be fixed?
what's probably happening is that the scaled coordinates at that zoom level of too large for an integer, so they roll over and give weird results.
What you need to do is put some kind of check in the zoom code that sets a zoom limit to a value that won't result in too large coordinates.
-Chris
ยทยทยท
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov