comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Button_events and data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Button_events and data [message #10980] Wed, 25 February 1998 00:00 Go to previous message
Bernard Puc is currently offline  Bernard Puc
Messages: 65
Registered: January 1998
Member
Hello,

I'm looking for pointers on how to do the following: I have a line
plot in a draw widget. I want to click the pointer on the plot and have
a vertical line drawn at the nearest datapoint to the mouseclick.
widget_draw returns the cursor location in device coordinates and I
need to translate that into dataspace coordinates.
Going one step further, ideally, I'd like to have a vertical line
follow the cursor around the draw widget at all times, jumping from
datapoint to datapoint. I suspect someone has already written such a
thing...

Any help appreciated.

-Bernard Puc
puc@gsfc.nasa.gov
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: read a .PCD file
Next Topic: How much for new PV-WAVE package for Win95.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 01:43:13 PDT 2025

Total time taken to generate the page: 0.63976 seconds