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 #73746 is a reply to message #73745] Tue, 23 November 2010 15:17 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Nov 23, 8:44 pm, Leslie Sherrill <leslie.wel...@gmail.com> wrote:
> (1) I have a widget program which is using the new IDL 8.0 graphics,
> and I finally figured out how I can access the plot commands in other
> widget programs.  I am able to change things like axis titles, ranges,
> etc.  However, when I change the color table and attempt to do a
> graphic.rgb_table=new_rgb_table that is associated with my new color
> table, nothing happens.  In fact, it looks like the rgb_table and
> vert_colors commands are Init variables that cannot be re-defined
> later in the program.  However, the new documentation indicates that
> the values are changeable.  Has anyone else encountered this?

This works for me

IDL> rt0=rebin(reform(bindgen(256),1,256),3,256) ;make up a table
IDL> rt1=rebin(reform(reverse(bindgen(256)),1,256),3,256) ;make up
another table
IDL> im=image(dist(100),rgb_table=rt0) ;make an image with table rt0
IDL> im.rgb_table=rt1 ;switch the table to rt1
[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: Wed Oct 08 18:20:00 PDT 2025

Total time taken to generate the page: 0.00843 seconds