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

Home » Public Forums » archive » Re: Plotting to more than one window
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: Plotting to more than one window [message #34177 is a reply to message #34175] Fri, 21 February 2003 10:41 Go to previous messageGo to previous message
notspecified is currently offline  notspecified
Messages: 14
Registered: February 2002
Junior Member
On Fri, 21 Feb 2003 10:58:36 -0700, David Fanning <david@dfanning.com>
wrote:

>
> Do you mean without using an object? Then, no, there
> is no neat and pleasant way to do it. :-)
>
> The messy way, of course, is just to save the appropriate
> system variables:
>
> Window, 1
> Plot, data
> p1 = !P
> x1 = !X
> y1 = !Y
> z1 = !Z
> m1 = !Map
>
> Window, 2
> Plot, moredata
> p2 = !P
> x2 = !X
> y2 = !Y
> z2 = !Z
> m2 = !Map
>
> Then, when you want to overplot, restore everything:
>
> WSet, 1
> !P = p1
> !X = x1
> !Y = y1
> !Z = z1
> !Map = m1
> OPlot, somedataOn1
>
> Cheers,

Neat-- I hadn't realized I could change 'system' variables like that.
Opens the door to all sorts of mischief.

Matt Feinstein does not include his email address
in the text of usenet postings.
--------
Harvard Law of Automotive Repair: Anything that goes away
by itself will come back by itself.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Does CONVOL convolute
Next Topic: Upgrade the 'double' accuracy in IDL 5.5

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

Current Time: Sat Oct 11 18:34:12 PDT 2025

Total time taken to generate the page: 1.04063 seconds