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

Home » Public Forums » archive » IDL 5.0 observations
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: IDL 5.0 observations [message #9123 is a reply to message #9092] Tue, 03 June 1997 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
P. Smith writes:

> By the way, I've seen info for getting colours tables set up if running in
> 24 bit mode. I haven't been able to do it for the 16 bit mode (65536
> colours) I run my display in Win95. Everthing plots in red, which is ok
> for line plots but I also need to produce colour contour plots.

Plotting in 16-bit mode is similar to plotting in 24-bit
mode, except that instead of using 8-bits of a 24-bit
value for each color, in 16-bit mode fewer bits are
used. (I think it is 6 bits of red and 5 of blue and
green, but I can't remember exactly. 64x32x32 = 65536.)

I have a couple of articles on my web page that talk
about 24-bit color, but the same principles apply to
16-bit color. There are also a number of programs to
help you work in this color environment. For example,
to draw a plot in yellow, you might type this in a
16-bit environment:

PLOT, data, Color=GetColor("yellow", /True)

(I just tried this in IDL 5 running on WindowsNT 4.0
and it didn't work! I got the plot in white, instead.
I tried it in IDL 4.0.1 and it worked exactly as I
expected it to work. I'm finding quite a few bugs in
IDL 5, so I don't know what to make of this. I'll have
to do more experimenting.)

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
Customizable IDL Programming Courses
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sell YourPhotosNYC.Agency
Next Topic: writing PCX files

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

Current Time: Sat Oct 11 22:27:21 PDT 2025

Total time taken to generate the page: 0.48187 seconds