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

Home » Public Forums » archive » How to access properties of multiple plots in a function graphics 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: How to access properties of multiple plots in a function graphics window? [message #86474 is a reply to message #86472] Tue, 12 November 2013 11:19 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Hi Matthew,

On 11/12/13 13:53, Matthew Argall wrote:
> You can try using the Select and GetSelect methods to pull the individual object references out of the window...
>
> http://www.exelisvis.com/docs/GetSelect_Method.html
> http://www.exelisvis.com/docs/Select_Method.html

I wanted to avoid having to actually select something but, in a pinch,
this will work for me. Thanks! Very cool.

BTW, I tried the /ALL keyword to Select on the window but it didn't work:

IDL> w.select,/all
IDL> x=w.getselect()
IDL> help, x
X UNDEFINED = !NULL

But, when I actually selected everything in the window with the mouse
and then did

IDL> x=w.getselect()

I got:

IDL> help, x
X OBJREF = Array[28]

which does contain what I want, I just have to sort through it all:

IDL> for i=0,27 do help, x[i]
<Expression> AXIS <702414>
<Expression> AXIS <702415>
<Expression> AXIS <702416>
<Expression> AXIS <702417>
<Expression> TEXT <702418>
<Expression> BARPLOT <698847>
<Expression> GRAPHIC <702419>
<Expression> AXIS <702420>
<Expression> AXIS <702421>
<Expression> AXIS <702422>
<Expression> AXIS <702423>
<Expression> TEXT <702424>
<Expression> BARPLOT <696924>
<Expression> GRAPHIC <702425>
<Expression> AXIS <702426>
<Expression> AXIS <702427>
<Expression> AXIS <702428>
<Expression> AXIS <702429>
<Expression> TEXT <702430>
<Expression> BARPLOT <695001>
<Expression> GRAPHIC <702431>
<Expression> AXIS <702432>
<Expression> AXIS <702433>
<Expression> AXIS <702434>
<Expression> AXIS <702435>
<Expression> TEXT <702436>
<Expression> BARPLOT <693078>
<Expression> GRAPHIC <702437>


I do wish the "w.select,/all" worked, though.

Thanks again.

cheers,

paulv
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Array into binary array
Next Topic: PSYM=10 + POLYFILL = ?

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

Current Time: Wed Oct 08 15:26:52 PDT 2025

Total time taken to generate the page: 0.00373 seconds