code_junkie

In MATLAB, how do I change the background color of a subplot?

Nov 11th, 2011
484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. set(subplot(2,2,1),'Color','Red')
  2.  
  3. subplot(2,2,1,'Color','r');
  4.  
  5. subplot(3, 2, 4), hist(rand(50)), whitebg('y');
Add Comment
Please, Sign In to add comment