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

Home » Public Forums » archive » Re: IDL 8.0.1 now available
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: IDL 8.0.1 now available [message #73251 is a reply to message #73250] Thu, 28 October 2010 16:24 Go to previous messageGo to previous message
Mark Piper is currently offline  Mark Piper
Messages: 198
Registered: December 2009
Senior Member
On Oct 28, 4:03 pm, Paul van Delst <paul.vande...@noaa.gov> wrote:

> p.p.s. And the extra nice thing is that I can now return the references to any graphics created to the main level prompt
> via a keyword to fine tune the resultant plots if necessary (e.g. moving legends, changing ranges, etc.) and then simply
> invoke the Save method again. It's bloody luxurious.

This is a little sloppy, but with GETWINDOWS you may even be able to
get away without returning NG references:

IDL> .comp
- pro foo
- p = plot(/test)
- end
% Compiled module: FOO.
IDL> foo
IDL> help, p ; no reference
P UNDEFINED = <Undefined>
IDL> w = getwindows()
IDL> help, w
W OBJREF = Array[1]
IDL> p = (w[0])['plot'] ; extract plot from window
IDL> p.color = 'red' ; yay!

With only one window, this example is a bit simplistic.

mp
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sanity Check
Next Topic: overlaying a transparent 24-bit image with different pixel scale

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

Current Time: Sat Oct 11 03:47:44 PDT 2025

Total time taken to generate the page: 0.32646 seconds