X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 Dec 2011 07:02 AM by  anon
Surface function in my own window
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:7
New Member


--
02 Dec 2011 07:02 AM
    The new IDL 8 surface() function draws a data array in a separate window, which will be automatically created, when the function is called. How can I use the surface function in my own (already well-defined) window, without creating a new one?

    Deleted User



    New Member


    Posts:
    New Member


    --
    02 Dec 2011 09:43 AM
    You can select the window using the SELECT method. Then, use the CURRENT keyword when generating the surface. An example of how to do this is shown below: IDL> w=window() IDL> w.select IDL> s = surface(/test, /CURRENT)
    You are not authorized to post a reply.