YOUNG's aRcHivE
Thursday, March 20, 2014
[MATLAB] How to change color of the histogram?
example code)
hist(randn(1225,1));
set(get(gca,'child'),'FaceColor','r','EdgeColor','w');
FaceColor : color of a bar of the histogram
EdgeColor : color of edge of the bar
color
- none : transparent
- r : red
- w : white
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment