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

Home » Public Forums » archive » What color should it be?
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
What color should it be? [message #79990] Thu, 19 April 2012 12:40
Xin Tao is currently offline  Xin Tao
Messages: 40
Registered: April 2011
Member
I'm using IDL 8.1 from a Mac terminal. One strange thing that I don't understand is the color of the lines in the following command:

plot, [0], color = !p.color

If I just entere IDL, and type the command, the color is red, because !p.color is 255. I don't know why it's 255 by default but I know it's red in the X device. But the strange thing is if I type the command again, it becomes white! And !p.color is 16777215. So does anyone know why this is the case?

I normally don't use PLOT command myself (use CGPLOT:)). This is to debug someone else's code.

Thanks

Xin Tao
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Map Function Question
Next Topic: Re: What color should it be?

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

Current Time: Wed Oct 08 13:51:57 PDT 2025

Total time taken to generate the page: 0.00497 seconds