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

Home » Public Forums » archive » PLOTS routine....
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
PLOTS routine.... [message #3361] Fri, 20 January 1995 11:01 Go to previous message
ratnakar amaravadi is currently offline  ratnakar amaravadi
Messages: 14
Registered: April 1994
Junior Member
What algorithm does the PLOTS routine use to compute
pixel coords between (x1,y1) and (x2,y2) when the command

PLOTS, [x1,x2],[y1,y2],/dev is executed.

I would like to know the exact pixel coords between (x1,y1) and
(x2,y2). After plotting the line, when I move the mouse, I get a
new value for (x2,y2). So when I draw the new line, I want to
erase the old line, and restore the underlying image. I can do this
by
PLOTS, XX(i),YY(i),color=image(xx(i),yy(i)),/dev
where image is the underlying image, and xx, yy are arrays
which contain the pixel coords between (x1,y1) and (x2,y2).


Thanks for your help.

Ratnakar Amaravadi Software/Hardware Engineer
Department of Radiology I.U. School of Medicine
(317)274-1843 (w) amaravad@indiana.edu
(317)274-4074 (fax) ratty@foyt.indyrad.iupui.edu
(317)632-5144 (res) http://www.indyrad.iupui.edu/~ratty/ratty.html
[Message index]
 
Read Message
Read Message
Previous Topic: !HELP_PATH
Next Topic: Re: why do'nt VNI archives accept?

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

Current Time: Fri Oct 10 12:47:31 PDT 2025

Total time taken to generate the page: 0.16292 seconds