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

Home » Public Forums » archive » Re: colors of images
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: colors of images [message #7684] Wed, 11 December 1996 00:00 Go to previous message
Robert Moss is currently offline  Robert Moss
Messages: 74
Registered: February 1996
Member
Rafael Gallego wrote:
>
> Hi!
>
> I have done a program which generates in each time step three matrix.
> I want to plot all of them in the same image in each time step in such
> way that I can see the film of the system evolution. My problem arises
> with the colors for each array. I wanted that, say the array A1, was
> ploted with the color red, the array A2 with the green one and the array
> A3 with the blue one. The intensity of each color of course would be
> scaled with the respective array values. Then, I would see red a region
> in which A1 dominates, for instance. If it had a mixture of A1, A2 and
> A3, I would see a mixture of the three colors, red, green and blue. And
> this for each time step. My question is very simple:
>
> How can I accomplish what I want to do ?
>
> Thanks in advance and sorry for my English. I am not used to writting in
> English.


I'll take a guess that you are using an 8 bit display. If this guess is
correct, the COLOR_QUAN function is what your looking for. See the
online documentation.

On the other hand, if you have a 24-bit display, all you need is
something along the lines of

TV, R, CHANNEL=1
TV, G, CHANNEL=2
TV, B, CHANNEL=3

See the documentation for "true-color displays".

--
Robert M. Moss, Ph.D. - mossrm@texaco.com - FAX (713)954-6911
------------------------------------------------------------ -----
This does not necessarily reflect the opinions of Texaco Inc.
[Message index]
 
Read Message
Read Message
Previous Topic: More on Exp bugs
Next Topic: $$$$ $50,000 for the New Year $$$$

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

Current Time: Wed Oct 08 19:12:46 PDT 2025

Total time taken to generate the page: 0.00374 seconds