x=[0.5,0.3,0.2,0.1];

y=[540,430,420,340];

z=[1340,1270,1210,1150];

[ax,h1]=plotyy(x,y,x,z,@bar,@bar);

set( get(ax(2),'Children'),'facecolor','g')

set( get(ax(2),'Children'),'barwidth',0.2)

set( get(ax(1),'Children'),'barwidth',0.4)

向左转|向右转
Matlab双纵轴


相关文章:

  • 2022-12-23
  • 2021-04-03
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2021-08-29
  • 2022-01-09
  • 2021-11-27
猜你喜欢
  • 2021-12-06
  • 2021-11-17
  • 2021-12-06
  • 2021-08-22
  • 2021-10-23
  • 2021-07-01
  • 2021-06-24
相关资源
相似解决方案