> 其他 >
matlab画图怎么使多条曲线部分曲线显示legend
人气:160 ℃ 时间:2020-06-20 12:22:55
解答
h1=plot(x1,y1);
h2=plot(x2,y2);
h3=plot(x3,y3);
h4=plot(x4,y4);
legend([h1 h3],'x1-y1','x3-y3');
四线,图例仅显示1,3
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版