フィルターのクリア

Is it possible to put subplots next to each other without any gap?

24 ビュー (過去 30 日間)
Mr M.
Mr M. 2015 年 7 月 7 日
回答済み: Thorsten 2015 年 7 月 7 日
I would like to put square like subplots without axis and labels next to each other. I sit possible? Or I have to make a big matrix and plot that one?

回答 (2 件)

Thorsten
Thorsten 2015 年 7 月 7 日

Debarati Banerjee
Debarati Banerjee 2015 年 7 月 7 日
Yes it will be possible to put square subplots without axis and labels next to each other. A sample code is here:
a=subplot('Position',[.1 .3 .3 .3])
set(a,'YTick',[],'XTick',[]);
hold on
b=subplot('Position',[.1 .6 .3 .3])
set(b,'YTick',[],'XTick',[]);
So, you need to set the Position vector of the subplots such that there is no space across them.
Refer to this link for more information on Position property:

カテゴリ

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