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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: color table reversal (?) [message #5079] Fri, 22 September 1995 00:00
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)
Re: color table reversal (?) [message #5080 is a reply to message #5079] Thu, 21 September 1995 00:00 Go to previous message
Stephen Herman is currently offline  Stephen Herman
Messages: 6
Registered: September 1995
Junior Member
charles@omcen.berkeley.edu (Charles E. Bartels 515) wrote:
>
> 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.
>
>
> -Charles Bartels
> --
>
>
> -Charles Bartels

How about using the LOADCT procedure to load a reverse color table?

Stephen Herman
  Switch to threaded view of this topic Create a new topic Submit Reply
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 13:45:53 PDT 2025

Total time taken to generate the page: 0.00569 seconds