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

Home » Public Forums » archive » PLOT() function...which WINDOW() to plot to...?
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: PLOT() function...which WINDOW() to plot to...? [message #81447 is a reply to message #81352] Wed, 12 September 2012 09:14 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul van Delst writes:

> I want to create a window, and have everything plot in that window (be
> it onscreen or in buffer) regardless of what other graphics windows I
> have onscreen that I happen to be looking at and click on.
>
> I presume there is some magical combination of keywords that will do that?

I think you have to write your loop like this, using
the SetCurrent method on the window you want to draw
into:

w.SetCurrent
index++
pn = PLOT( $
channel_index, new_data, $
XTITLE=xtitle, $
TITLE = item_name[j], $
LAYOUT = [ n_col, n_row, index ], $
NAME = legend_name[0], $
COLOR = 'red', $
THICK = 2, $
CURRENT = 1 )

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Coyote Updates
Next Topic: Is IDL 8.2 Workbench Slow, Too?

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

Current Time: Fri Oct 10 18:05:32 PDT 2025

Total time taken to generate the page: 0.72027 seconds