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?

original photo

after modifying width , whole graph become smaller don't need happen

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

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c# - Avoiding duplicate methods for Task and Task<T> -

javascript - Which segment of a polyline was clicked? -