Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Questions on displaying plots overlaid on an image
Posted:
Mar 5, 1997 7:54 AM


Hi everybody,
Here is what I am trying to do: I have an image (which is usually of one colour e.g shades of red), and I also have plots that I am displaying on top of the image. Everytime I redraw the plots, the image also gets redisplayed, which is extremely annoying since it takes a while.
To avoid redisplaying the image, I tried using various erasemodes for the plots, and here are the results:
1) Using erasemode 'xor': the plots are always BLACK, no matter what colour I try to set them to.
2) Using erasemode 'background': whenever I try to display a smaller area of the image by changing the axis, using axis([...]), the plots are also drawn outside the axis area.
Can anyone suggest a way to display plots in any colour I want, without redisplaying the image, while confining the plots to inside the axis?
I would greatly appreciate any help.
Thanks,
Nandita



