From: adi cohen on
how do I create a plot that contains different background colors, for example all data containning x coordinates below 5 will have a background color of yellow, otherwise the plot with contain a background color of blue??
I really do need the help
thank you!
From: Walter Roberson on
adi cohen wrote:
> how do I create a plot that contains different background colors, for
> example all data containning x coordinates below 5 will have a
> background color of yellow, otherwise the plot with contain a background
> color of blue??

rectangle() the backgrounds into existence and hold('on') and then plot;

or/

patch() the backgrounds into existence (either before or after the
plotting), but make sure that you use a z coordinate less than 0 for the
patches [or else no matter which order you draw them in, they might end
up on top, if you are using OpenGL as the renderer.]