When I execute the following code:
a=rand(15);anew=a(:);figurebar(anew,'g')b=rand(20);bnew=b(:);figurebar(bnew,'g')c=rand(30);cnew=c(:);figurebar(cnew,'g')
I notice that on the second BAR plot, the bars cover up the y-axis.
MATLAB
a=rand(15);anew=a(:);figurebar(anew,'g')b=rand(20);bnew=b(:);figurebar(bnew,'g')c=rand(30);cnew=c(:);figurebar(cnew,'g')
Best Answer