Good multiple panel in 1 figure

9 ビュー (過去 30 日間)
eko supriyadi
eko supriyadi 2017 年 12 月 23 日
回答済み: Benjamin Kraus 2018 年 1 月 24 日
Hi everyone..
do you know how make this figure (2 or 3 panel in 1 figure)?
i'm using subplot but i'm not satisfying about the result..
here for example
as you seeing, top panel with bottom panel has good relation time axis and
contour panel with right panel has good relation y axis
how do that?
thx

回答 (1 件)

Benjamin Kraus
Benjamin Kraus 2018 年 1 月 24 日
Unfortunately, subplot won't work well for that kind of layout. Your best bet is to manually set the Position property of the individual axes to align them.
For example:
mainax = axes('Position',[0.1 0.1 0.5 0.5],'Box','on');
topax = axes('Position',[0.1 0.65 0.5 0.25],'XAxisLocation','top','Box','on');
rightax = axes('Position',[0.65 0.1 0.25 0.5],'YAxisLocation','right','Box','on');

カテゴリ

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