how to create one plot with several contours (corner plot)

조회 수: 1(최근 30일)
Tal Shavit
Tal Shavit 2022년 4월 8일
댓글: Tal Shavit 2022년 4월 9일
I have contours created by several matrices.
I need to arrange them in that manner:
How can I do so? (of course I already have the matrices and each contour seperatley )


Adam Danz
Adam Danz 2022년 4월 8일
As KSSV recommended, tiledlayout is the way to go.
tcl = tiledlayout(3,3,'TileSpacing','none');
tileIdx = [1,4,5,7,8,9]; % row-wise index of tiles
ax = gobjects(size(tileIdx));
for i = 1:numel(tileIdx)
ax(i) = nexttile(tcl,tileIdx(i));
contour(ax(i), magic(8))
% equate axis ranges and turn off tick labels for inner axes
  댓글 수: 7
Tal Shavit
Tal Shavit 2022년 4월 9일
I still didn't figure which numbers to exactly give, but im playing with that
thank you so much' you have helped me alot

댓글을 달려면 로그인하십시오.



Community Treasure Hunt

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

Start Hunting!

Translated by