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

Home » Public Forums » archive » color plot over greyscale image - postscript
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
color plot over greyscale image - postscript [message #70924] Fri, 21 May 2010 15:04 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
Hi all,

I'm having problems mixing images and plots in postscript. What I
want is to display a greyscale image, then overplot a number of
differently colored points at designated pixel values. What I'm
currently doing is setting up plot axes first with plot, /nodata, x/
ystyle=8, position=[0,0,1,1]. Then, I use Coyote's TVImage, /overplot
to fit the image inside the plot axes, and then oplot to put in the
points. The problems are:
1) Even with TVImage, it seems like the alignment of the plot axes and
the image is off. All the points reside in the box approximately
[0,0,.75,.75].
2) When the points I oplot are red, the greyscale works fine. Any
other color causes the greyscale to be filled with seemingly randomly
distributed colored pixels.

The answer is probably something simple like decompose=0 or loading
color tables intelligently, but I just can't seem to get my mind
around this right now. Any advice would be greatly appreciated.

--Gray
[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
Previous Topic: Help with envi_output_to_external_file
Next Topic: Sodium Phosphide Formula

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

Current Time: Wed Oct 08 18:18:30 PDT 2025

Total time taken to generate the page: 0.00405 seconds