From: R. V. U. <rur...@ao...> - 2005-03-01 00:42:39
|
Hi I'm using the C++ API for PLPLOT, and trying to use "GetCursor" to record the world co-ordinates and subwindow index from a cursor event. Following this event, I need to 'advance' to the chosen subwindow, and overlay a plot. This entire process needs to be done repeatedly. Given a valid subwindow 'n', I am able to get the overlay plot on the correct subwindow by doing the following pls->adv(n) pls->vpor(...) pls->wind(...) ...plot However, when this is put into a loop and done repeatedly, the 'subwindow' member returned via GetCursor does NOT always have the correct subwindow index. Could someone please tell me if I'm missing something, or if this could this be a bug ? Thanks in advance. Urvashi |