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 #9120 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
I wrote earlier today in response to a 16-bit color
question:

> For example, to draw a plot in yellow, you might type
> this in 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.)

This "bug" turns out to be operator error. I forgot
to restart IDL after setting my display to 16-bit
color mode. So, yes, 16-bit color is similar to
24-bit color.

You can also draw a plot in yellow using hexadecimal
notation for the color, like this:

Plot, data, Color='00FFFF'x

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: Wed Oct 08 20:03:39 PDT 2025

Total time taken to generate the page: 0.00198 seconds