subplot hoe to add a tile?

subplot, how can I add a total title? neglect gtext. anyknow knows a better way? thankx

 採用された回答

Grzegorz Knor
Grzegorz Knor 2012 年 2 月 22 日

0 投票

Try this code:
for i = 1:4
subplot(2, 2, i)
plot(rand(1, 10));
end
axes('Units','Normal','Position',[.075 .075 .85 .85],'Visible','off');
set(get(gca,'Title'),'Visible','on')
title('global title','FontWeight','bold','FontSize',15);
or use one of these function from fex:

1 件のコメント

Lei
Lei 2012 年 2 月 22 日
Hi,Grzegorz Knor
Thanks, I am using one of the function from your link.
It works fine.
Thanks again for your help.
Lei

サインインしてコメントする。

その他の回答 (1 件)

Sean de Wolski
Sean de Wolski 2012 年 2 月 22 日

0 投票

doc suptitle
if you have the Bioinformatics Toolbox

1 件のコメント

Lei
Lei 2012 年 2 月 22 日
Hi,
Thanks. I'll try it.
^_^

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGenomics and Next Generation Sequencing についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by