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

Home » Public Forums » archive » xwindows colour issues
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
xwindows colour issues [message #12792] Thu, 10 September 1998 00:00 Go to next message
Gary Beard is currently offline  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 Go to previous message
davidf is currently offline  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 #12925 is a reply to message #12792] Fri, 11 September 1998 00:00 Go to previous message
rmlongfield is currently offline  rmlongfield
Messages: 68
Registered: August 1998
Member
In article <MPG.106161b83c2b2a9f9896aa@news.frii.com>,
davidf@dfanning.com (David Fanning) wrote:
Explaining color handling
> in more detail was one of the major updates in the fourth
> printing of the book, which just returned from the printers
> this week.

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 :)

Rose


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
Re: xwindows colour issues [message #12926 is a reply to message #12792] Thu, 10 September 1998 00:00 Go to previous message
Phillip &amp; Suzanne is currently offline  Phillip &amp; 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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Current Idl spec results: for Alpha-NT4
Next Topic: [Q] extracting value from a structure ...

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

Current Time: Wed Oct 08 19:21:21 PDT 2025

Total time taken to generate the page: 0.00612 seconds