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

Home » Public Forums » archive » peeling away layers
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: peeling away layers [message #85507 is a reply to message #85458] Wed, 14 August 2013 01:51 Go to previous messageGo to previous message
lance.luvaul is currently offline  lance.luvaul
Messages: 3
Registered: August 2013
Junior Member
On Friday, August 9, 2013 6:41:46 PM UTC+10, lance....@gmail.com wrote:
> How do I gain access to the idlitvissurface object underlying a "New Graphics" surface object (created using the surface() function)?
>
>
>
> I need to programmatically set the scale_vertex_color array, which I cannot seemto do with the surface objref but can with the idlitvissurface objref like so: "my_idlitvissurface->setproperty, scale_vertex_color=[...]"
>
>
>
> Thanks in advance,
>
> Lance

Finally figured out how to do this. After you've instantiated your NG surface object (and assuming it's the only one), you can set the scale_vertex_color property this way:

igetproperty, 'surface', scale_vertex_color=svc
svc[3] = clip
isetproperty, 'surface', scale_vertex_color=svc

The first arg to i(g|s)etproperty is a path-like string that qualifies the itools visualization object. If 'surface' isn't unique enough, I believe you can use igetid() somehow immediately after instantiating the NG surface to get the fully qualified string (looks something like: "/TOOLS/GRAPHIC/WINDOW/VIEW_1/VISUALIZATION LAYER/DATA SPACE/SURFACE").

Hope this helps someone else...
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: spline fitting to spectra
Next Topic: Coyote Graphics PS/PDF output size/orientation

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

Current Time: Fri Oct 10 07:22:19 PDT 2025

Total time taken to generate the page: 0.00247 seconds