Subplot/Figure with parameters

6 ビュー (過去 30 日間)
Tobi12
Tobi12 2015 年 8 月 12 日
回答済み: dpb 2015 年 8 月 12 日
I would like to create a subplot (2,3,x). However, subplot (2,3,1) should not contain a figure but instead display some parameters from the source code. How can I accomplish this? Many thanks

採用された回答

dpb
dpb 2015 年 8 月 12 日
How about sotoo--
for i=1:3,hAx(i)=subplot(2,3,i);end % create the 2x3 axes
set(hAx(1),'xtick',[],'ytick',[],'box','on') % no visible axes on first
subplot(hAx(1)) % make first current
text(0.5,0.5,'Some stuff to write','horizontalalign','center') % write something on it
% do something else on the others...
subplot(hAx(2)), bar(rand(4))
subplot(hAx(3)), plot([1:4],rand(4)), xlim([1 4])

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSubplots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by