一、源程序

Y = round(rand(5,3)*10);
figure;
subplot(2,2,1);
bar(Y,'grouped');
title('Group')
subplot(2,2,2);
bar(Y,'stacked');
title('Stack')
subplot(2,2,3);
bar(Y,'histc');
title('Histc')
subplot(2,2,4);
bar(Y,'hist');
title('Hist')

二、效果

Matlab程序画柱状图




相关文章:

  • 2021-11-01
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2021-10-08
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2021-09-10
  • 2021-06-21
  • 2021-04-01
  • 2021-12-31
  • 2021-10-09
相关资源
相似解决方案