[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

convert_coord problem



Hi

I have a widget with several graphic windows. On of it returns the
co-ordinates of the mouse button if pressed. These co-ordinates are then
converted from device to data (longitude, latitude) using the convert_coord
routine, and some data is plotted in the other windows. Now comes my
problem: the convert_coord routine gives the correct co-ordinates only in
its first call. when I try to convert another pair of co-ordinates the
result is flawed. What can be wrong???

Klaus

p.s.: I use IDL 5.2 under Windows NT