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

Home » Public Forums » archive » Re: color table reversal (?)
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: color table reversal (?) [message #5079] Fri, 22 September 1995 00:00 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <CHARLES.95Sep20134534@omcen.berkeley.edu>, charles@omcen.berkeley.edu (Charles E. Bartels 515) writes:
>
> Does anyone know of a way to reverse the color table in IDL through
> the command line or inside a program? The only way I presently know
> how to do this is with "xloadct."
>
> I need to be able to do this because it appears that "xloadct" does
> not run under 24-bit color Spark 5 w/solaris 2.3.
>
>
You can look at the souce of xloadct to see how it is done there, and make
whatever modifcations are needed for a 24 bit display. It is basically done
with
IDL> tvlct, r, g, b, /get
IDL> r = reverse(r) & g = reverse(g) & b = reverse(b)
IDL> tvlct, r,g, b

____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Morphing techniques
Next Topic: using cronjob to run wave

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

Current Time: Wed Oct 08 15:33:46 PDT 2025

Total time taken to generate the page: 0.00419 seconds