From: Alex Johnston on 9 Feb 2010 10:40 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 9 Feb 2010 21:40 Hi Alex I would probably use a patch http://www.mathworks.com/access/helpdesk/help/techdoc/ref/patch.html Hth, Darren
|
Pages: 1 Prev: Labelling with text (names) the contour lines in contour Next: data grid in matlab gui |