matlab画图指令bar详解
bar条形图,用法多种多样;y = [75 91 105 123.5 131 150 179 203 226 249 281.5];bar(y)x = 1900:10:2000;y = [75 91 105 123.5 131 150 179 203 226 249 281.5];bar(x,y)y = [75 91 105 123.5 131 150 179 203 226 249 281.5];bar(y,0.4)%占可以使用空间的40%y = [2 2 3; 2 5 6; 2 8