其他分享
首页 > 其他分享> > matlab-条形图形

matlab-条形图形

作者:互联网

function shili07
h0=figure('toolbar','none',...
    'position',[200 150 450 350],...
    'name','实例07');
tiao1=[562 548 224 545 41 445 745 512];
tiao2=[47 48 57 58 54 52 65 48];
t=0:7;
bar(t,tiao1)
xlabel('X轴');
ylabel('TIAO1值');
h1=gca;
h2=axes('position',get(h1,'position'));
plot(t,tiao2,'linewidth',3)
set(h2,'yaxislocation','right','color','none','xticklabel',[])

标签:...,条形,48,tiao2,tiao1,matlab,h1,position,图形
来源: https://blog.csdn.net/xxzhaoming/article/details/118963593