查看单个帖子
旧 2008-03-04, 17:24   #1
tolabfans
普通会员
 
注册日期: 2008-02-29
年龄: 44
帖子: 92
声望力: 19
tolabfans 正向着好的方向发展
默认 【求助】如何给这样的图加个标题

程序如下:

x=0:0.1:2*pi;
subplot(131)
plot(sin(x));
title('y=sin(x)');
subplot(132)
plot(cos(x));
title('y=cos(x)');
subplot(133)
plot(cos(x)+sin(x));
title('y=sin(x)+cos(x)');

每个子图的标题好加,怎样在下面加个总标题呢。
上传的图像
文件类型: jpg untitled.jpg (20.2 KB, 17 次查看)
tolabfans 当前离线   回复时引用此帖