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

Home » Public Forums » archive » Re: getting procedures to use proper color index via LOADCT, x
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: getting procedures to use proper color index via LOADCT, x [message #10656 is a reply to message #10655] Mon, 22 December 1997 00:00 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <ELK5uC.1G0.A.ebony@news.trentu.ca>, dmarshall@ivory.trentu.ca writes:
> A lurker de-lurks:
>
> I am running Student Version IDL 5.0 on Windows 95
>
> I cannot get procedures like SURFACE etc to access the loaded color table.
>
> LOADCT, 5
>
> Gives me no problem, no error messages and it confirms loading the table.
>
> But then my plots only ever show up in various shades of red.
> I confirm this by running CINDEX.

It sounds like your display is set to True Color. Do HELP, /DEVICE to check.
If it is then doing SURFACE, COLOR='50'x will produce a red plot. However
doing SURFACE, COLOR='505050'x will draw using the correct color in your
lookup table. True color in IDL is pretty tricky, and not very will documented
IMHO. David Fanning's Web page has some very useful tips.

You can also simply change your display to 256 colors, but then you have the
limitations of a limited color map.

____________________________________________________________
Mark Rivers (773) 702-2279 (office)
CARS (773) 702-9951 (secretary)
Univ. of Chicago (773) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars.uchicago.edu (e-mail)

or:
Argonne National Laboratory (630) 252-0422 (office)
Building 434A (630) 252-0405 (lab)
9700 South Cass Avenue (630) 252-1713 (beamline)
Argonne, IL 60439 (630) 252-0443 (FAX)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IRIX/Linux binary compatibility?
Next Topic: Limit on Polar Stereographic Projection?

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

Current Time: Wed Oct 22 18:25:51 PDT 2025

Total time taken to generate the page: 1.27824 seconds