To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
Hello Forum, I am trying to set the plot background of a series of plots to be white and for y-axis values above 60 grey. Is there a way to do this? I am trying to highlight values above a certain criteria. Other suggestions are welcome. Thanks.
Maybe use the rectangle() or patch() function to lay down a gray rectangle in the appropriate place in the plot. Be sure to set "hold on" after that and before you plot your actual data.