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

Home » Public Forums » archive » drawing lines in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
drawing lines in IDL [message #11516] Tue, 31 March 1998 00:00
morph account is currently offline  morph account
Messages: 4
Registered: March 1998
Junior Member
Does anyone know how to use the mouse to draw free hand lines over a
displayed image? The image is displayed in a window created with the
WIDGET_DRAW function. When I click the mouse over the image, I am able
to store the coordinates of mouse movement unit I click the mouse a
second time. I am able to display the line using the PLOT command,
however, the scaling of the plot area is different from the image area.
For example, I am unable to draw in the upper right portion of the image
because the drawing area is slightly smaller than the image area. This
draws a line, but not at the current position of the mouse.

If anyone knows how to correct this problem, or knows of a better
solution, I would greatly appreciate the information.

Thanks,
Steve Hartmann
[Message index]
 
Read Message
Previous Topic: IDL batch mode: Command line args?
Next Topic: PV-Wave, Fortran & Windows NT

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

Current Time: Thu Oct 09 06:03:25 PDT 2025

Total time taken to generate the page: 0.00437 seconds