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

Home » Public Forums » archive » Re: staying away from color indices 0, and 255?
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: staying away from color indices 0, and 255? [message #47271 is a reply to message #47270] Wed, 01 February 2006 11:46 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
savoie@nsidc.org writes:

> I understand that the 0th index gets changed often. But why is it a good
> reason to stay away from index 255?
>
> I ask, because I've always reserved the top 16 colors for myself and done
> scaling and loadct, etc, into the remaining locations, and before I rewrite
> that code, I thought I'd see how dire it's going to be.
>
> So can anyone enlighten me on this?

I don't know. I've been working with IDL for so long,
and I've developed so many "rules of thumb" I can't
even remember what they are all about anymore. :-(

I'm guessing that if you don't follow this one you
will probably, sooner or later, end up drawing white
on white in PostScript. It's beautiful, very chic,
but not good for that Nature article you had been
planning. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: staying away from color indices 0, and 255?
Next Topic: IDLWave upgrading?

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

Current Time: Mon Dec 01 02:47:21 PST 2025

Total time taken to generate the page: 1.59914 seconds