xwindows colour issues [message #12792] |
Thu, 10 September 1998 00:00  |
Gary Beard
Messages: 5 Registered: September 1998
|
Junior Member |
|
|
I'm working with IDL version 4.0.1 (OSF alpha) under UNIX through
xwindows
from Windows NT. I'm finding the use of colour tables highly problematic
at the
moment. I'd like to run NT with more than 256 colours, but this seems to
confuse
IDL's implementation of colour table values. Is there a book or a web
page that
could help me with this. The manuals are woefully inadequate on the
subject.
|
|
|
Re: xwindows colour issues [message #12920 is a reply to message #12792] |
Fri, 11 September 1998 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Rose (rmlongfield@my-dejanews.com) writes:
> I found the color discussion in January 1998 edition pretty good and would be
> interested in seeing any improvement. Any chance of getting the updated
> discussion without buying another book :)
I know there are a number of people out there who are
"thinking" about writing a book about IDL. But since
I'm the only one who has really done so, let me give you
a piece of advice: the only way you are *ever* going to
get a book written is to sit down and write *something*.
For me, what usually comes out is stupid, poorly written,
and complete nonsense. This becomes (after some effort)
an article on my web page, which gets pulverized by kind
readers who delight in pointing out the obvious errors.
After several rounds of this, you have a chapter in your
book! :-)
Anyway, this is the long way around to say that you can
read all about color issues in IDL 5.1 in this article
on my web page:
http://www.dfanning.com/tips/24bit_color_idl51.html
Cheers,
David
P.S. Let's just say, if you can't take the heat, you
ain't gonna be writtin any books. :-)
----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
|
Re: xwindows colour issues [message #12926 is a reply to message #12792] |
Thu, 10 September 1998 00:00  |
Phillip & Suzanne
Messages: 31 Registered: June 1998
|
Member |
|
|
Gary Beard wrote:
> I'd like to run NT with more than 256 colours, but this seems to
> confuse IDL's implementation of colour table values.
Gary;
Another option available to you is to run NT with your large number of colors,
but set your X emulation software to use only 256 colors. In this way, IDL
will think it only has 256 colors, but your NT apps can use all the colors.
This is the easiest solution that we suggest to our users.
Phillip David
|
|
|