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
Re: PLOTS routine.... [message #3445 is a reply to message #3361] Mon, 23 January 1995 13:00 Go to previous message
Serdar Manizade is currently offline  Serdar Manizade
Messages: 15
Registered: December 1994
Junior Member
ratnakar amaravadi <amaravad@silver.ucs.indiana.edu> wrote:
>
> 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
..

If you are using an appropriate window manager, you might consider
another approach: use the SET_GRAPHICS_FUNCTION keyword to the
DEVICE command. Details are in the IDL Reference Guide, chapt.3.
Then you can plot the line, then unplot it by changing the graphics
function and repeating the same plots command.
[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 07:27:43 PDT 2025

Total time taken to generate the page: 0.40206 seconds