翻译自 MATLAB 官方文档
bar:条形图
x = 1900:10:2000;
y = [75 91 105 123.5 131 150 179 203 226 249 281.5];
bar(x,y)
bar3 : 3D条形图
load count.dat
Z = count(1:10,:);
figure
bar3(Z)
title('Detached Style')
翻译自 MATLAB 官方文档
x = 1900:10:2000;
y = [75 91 105 123.5 131 150 179 203 226 249 281.5];
bar(x,y)
load count.dat
Z = count(1:10,:);
figure
bar3(Z)
title('Detached Style')