Re: Colors with XOR plotting [message #474 is a reply to message #471] |
Thu, 16 July 1992 04:23  |
zawodny
Messages: 121 Registered: August 1992
|
Senior Member |
|
|
I have noticed for some time that a number of the questions posted here could
be answered quite easily by post-er if they just played with IDL for 15
minutes. After all the I in IDL is for Interactive.
Specifically, your question cannot be answered without knowing what the
background colors are. Example, if you overlay red on cyan with XOR you get an
orange color. It is also apparent that you do not want the XOR function but
simply wish to overwrite (temporarily but completely) some part of your image
with red and blue. I suggest you invest some time in your manual (Appendix E).
If this is true you may have to get fancy (like keeping a copy of your image in
a pixmap and using the device,copy=[ ... ] command to restore portions of your
image). I think you will probably settle for a highlighted region with no
specific color, just obviously different from the underlying image.
Best of Luck
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- *-*-*-*-*-*-*-*-*-*
Joseph M. Zawodny (KO4LW) /\
NASA Langley Research Center \/ THIS SPACE
Hampton VA, 23665-5225 /\ FOR RENT
zawodny@arbd0.larc.nasa.gov \/
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- *-*-*-*-*-*-*-*-*-*
|
|
|