decreasing the width of bar graph in matlab -
i wrote code below make bar graph problem width of bar big , need make width thinner, when change fig properties whole graph become smaller .. help?
x = [2,3,4,5,6]; y = [80.32,95.2,92.6,75.6,65.7] figure; bar(x,y,'b');
you can use third input argument bar
specifies width:
bar(x,y,.4,'b'); %// change ".4" needed
Comments
Post a Comment