changing colors [message #6659] |
Wed, 31 July 1996 00:00 |
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  |
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  |
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!"
|
|
|