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

Home » Public Forums » archive » changing colors
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
changing colors [message #6659] Wed, 31 July 1996 00:00
gromm is currently offline  gromm
Messages: 11
Registered: July 1996
Junior Member
Hi. Color tables are confusing me greatly. I have a black and white
tiff that I want to draw colors on using the PLOTS procedure. If I
specify a color index, such as color=3, it draws in black. In fact, any
index I put, it draws in black. When I don't specify a color, it draws
in red. How can I manipulate the colors. I am assuming I am in RGB, but
how come I can't specify different colors?

Also, my program takes graphics from the window, stores them into an
array, and then animates them using xinteranimate. However, the default
red plots that are drawn when no color index is specified appear white in
xinteranimate's display. Why aren't they red?

You'd think in a language written to produce multimedia easily would not
make colors so confusing....

Please help!

-Gadi
Re: changing colors [message #6664 is a reply to message #6659] Wed, 31 July 1996 00:00 Go to previous message
gromm is currently offline  gromm
Messages: 11
Registered: July 1996
Junior Member
Andy Loughe (afl@cdc.noaa.gov) wrote:
: Gideon Z Romm wrote:
: >
: > Hi. Color tables are confusing me greatly. I have a black and white
: > tiff that I want to draw colors on using the PLOTS procedure. If I
: > specify a color index, such as color=3, it draws in black. In fact, any
: > index I put, it draws in black. When I don't specify a color, it draws
: > in red. How can I manipulate the colors. I am assuming I am in RGB, but
: > how come I can't specify different colors?
: >
: > Also, my program takes graphics from the window, stores them into an
: > array, and then animates them using xinteranimate. However, the default
: > red plots that are drawn when no color index is specified appear white in
: > xinteranimate's display. Why aren't they red?
: >
: > You'd think in a language written to produce multimedia easily would not
: > make colors so confusing....
: >
: > Please help!
: >
: > -Gadi


: Read the manual.

Thanks a bunch for the advice, but the lack of clarity in the manual's
explanation is exactly why I'm posting my question to the newsgroup in
the first place!!!!
Re: changing colors [message #6665 is a reply to message #6659] Wed, 31 July 1996 00:00 Go to previous message
Andy Loughe is currently offline  Andy Loughe
Messages: 174
Registered: November 1995
Senior Member
Gideon Z Romm wrote:
>
> Hi. Color tables are confusing me greatly. I have a black and white
> tiff that I want to draw colors on using the PLOTS procedure. If I
> specify a color index, such as color=3, it draws in black. In fact, any
> index I put, it draws in black. When I don't specify a color, it draws
> in red. How can I manipulate the colors. I am assuming I am in RGB, but
> how come I can't specify different colors?
>
> Also, my program takes graphics from the window, stores them into an
> array, and then animates them using xinteranimate. However, the default
> red plots that are drawn when no color index is specified appear white in
> xinteranimate's display. Why aren't they red?
>
> You'd think in a language written to produce multimedia easily would not
> make colors so confusing....
>
> Please help!
>
> -Gadi


Read the manual.
Check for tvlct, xloadct, loadct.

--
Andrew F. Loughe afl@cdc.noaa.gov
University of Colorado, CIRES http://cdc.noaa.gov/~afl
Campus Box 449 phn:(303)492-0707
fax:(303)497-7013
Boulder, CO 80309-0449 "He who laughs last thinks slowest!"
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: reading a series of image files
Next Topic: Re: reading in a series of images

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

Current Time: Wed Oct 08 17:02:39 PDT 2025

Total time taken to generate the page: 0.00623 seconds