Re: PLOT() function...which WINDOW() to plot to...? [message #81450 is a reply to message #81352] |
Wed, 12 September 2012 08:07  |
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.")
|
|
|