comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: drawing lines in IDL

drawing lines in IDL
type: item
description: 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
creator: morph account
date: 1998-03-31T08:00:00-00:00