Matlab for循环subplot画图加标题 x=1:10; for i = 1:4 y=i*x; subplot(2,2,i) plot(x,y) title(sprintf('y=%i x\n',i)) end 效果如图转载于:https://www.cnblogs.com/qinghev/p/9983216.html matlab 2023-06-05 142 点赞 2 评论 215 浏览