X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 29 Apr 2011 09:50 AM by  anon
How to reference window for a plot?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
29 Apr 2011 09:50 AM
    The new IDL 8 graphics provides a window function, such as w = window(stuff) How do I reference this window in a plot in order to put the plot in this window? I see that the new plot function accepts the same arguments as window, such as dimensions, but how do I do it in two steps? Thanks, ==Leonard

    Deleted User



    New Member


    Posts:
    New Member


    --
    26 Aug 2011 11:33 AM
    To reference a window for a plot, you should use the SELECT method to select the window, and then use the CURRENT keyword when producing your plot. An example of how to do this is shown below: IDL> w1 = window(TITLE='Plot Window') IDL> w2 = window(TITLE='Empty Window') IDL> w1.select IDL> p = plot(/test, /current)
    You are not authorized to post a reply.