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

Home » Public Forums » archive » Array Dimensions and WRITE_GIF
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: array dimensions [message #24582 is a reply to message #10642] Sun, 08 April 2001 09:11 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Francesco (francesco.spada@jrc.it) writes:

> I'm particulary interested in this keyword since I have many problem
> with colors.
>
> First of all I'm working with IDL 5.4 for win and I use WIN98 (16.8
> millions of colors (24 bit)).
>
> For fixing some color problem I use (taken from the demo of IDL, I
> don't know what they mean):
>
> device, decomposed=0
> device, bypass_translation=0
>
> When I make some contour with /fill all is all right, but when I try
> to use xinteranimate
>
> wdelete
> xinteranimate, set = [xw,yw,hrs]
> for i=0,hrs-1 do begin
> xinteranimate,frame=i,image=imgs(*,*,i)
> endfor
> xinteranimate
>
> I get completely different (and not really nice!!) colors from the
> imgs that I see before the animation.
>
> Does anyone can tell me why and what's the meaning (in a simpler way
> than that of the IDL man) of the device keyword I use?

In a simple way, DECOMPOSED=0 means don't take this number
I specify for a color and decompose it into 8-bits of red
information, and 8-bits of green information, and 8-bits
of blue information. Instead, use the number I specify as
an index into a color lookup table, and use the RGB values you
find there to specify the color I want.

You can learn a great deal about color by reading these
articles on my web page:

http://www.dfanning.com/documents/tips.html#UsingColors

Or, you could purchase my book, which only costs about
16 million lira in Italy, I think. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: A third-party example
Next Topic: Problem with ".cdf" files on Windows

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

Current Time: Wed Oct 08 17:56:26 PDT 2025

Total time taken to generate the page: 0.00247 seconds