meatball1982 发表于 2018-9-27 09:38:57

豆粑粑 matlab subplot的图,总的title

每个子图都有自己的title. 然后,figure有一个总的title.在fileexchange里,有一个suptitle函数。好用。





clear all
clc

x=;
y=sin(x);

subplot(1,2,1)
peaks;
title('I am title 1')

subplot(1,2,2)
plot(x,y,'linewidth',2)
title('I am title 2')

suptitle(' I am all title')函数在附件

页: [1]
查看完整版本: 豆粑粑 matlab subplot的图,总的title