color plot over greyscale image - postscript [message #70924] |
Fri, 21 May 2010 15:04  |
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
|
|
|