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

Home » Public Forums » archive » Re: Questions about IDL 8.0
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: Questions about IDL 8.0 [message #73723 is a reply to message #73722] Wed, 24 November 2010 12:00 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 11/24/10 11:30 AM, Paulo Penteado wrote:
> On Nov 24, 4:02 pm, Michael Galloy<mgal...@gmail.com> wrote:
>> What are the allowable names? I see 'xaxis', 'yaxis', and 'zaxis', but
>> are there clever names for the other axes like when AXIS_STYLE=2? And
>> what exactly is that name, part of an identifier?
>
> The overloaded brackets match objects in the hierarchy through calls
> of igetid(), with some processing before and after it. So it is mostly
> up to igetid's way of finding identifiers.
>
> The matches are not necessarily of single objects:
>
> IDL> s=surface(/test,axis_style=2)
> IDL> help,s['*axis*']
> <Expression> OBJREF = Array[12]
> IDL> foreach el,s['zaxis'] do print,el.name
> Axis 2
> IDL> foreach el,s['zaxis*'] do print,el.name
> Axis 2
> Axis 5
> Axis 8
> Axis 11

But I don't see where 'zaxis' appears at all:

IDL> foreach el,s['zaxis*'] do print, el.identifier
AXIS2
AXIS5
AXIS8
AXIS11

It seems like it is doing something smart, but I'm not sure exactly what
it is. For example, 'zaxis*' matches all the axes pointing in the z
direction:

IDL> foreach el, s['zaxis*'] do el.hide = 1

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Make IDL record console output to a file automatically?
Next Topic: Re: high quality 'old' direct graphics

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

Current Time: Fri Oct 10 01:41:45 PDT 2025

Total time taken to generate the page: 1.04471 seconds