[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
convert_coord problem
- Subject: convert_coord problem
- From: "Klaus Scipal" <kscipal(at)ipf.tuwien.ac.at>
- Date: Thu, 27 Jul 2000 13:13:35 +0200
- Newsgroups: comp.lang.idl-pvwave
- Organization: Vienna University of Technology, Austria
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:20446
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