From: Alex Johnston on
I am generating some plots in Matlab and I want to have a colored/shaded band that indicates a desirable region of values. For example, say I plot y=sin(x) and the desirable values are from y=-0.75 to 0.75. I want the region from y=-0.75 to y=0.75 to be shaded or colored in for all x values.

Alex
From: Darren Rowland on
Hi Alex

I would probably use a patch
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/patch.html

Hth,
Darren