フィルターのクリア

How to adjust printing compatible with tiledlayout and labels?

1 回表示 (過去 30 日間)
Ron Nativ
Ron Nativ 2024 年 2 月 11 日
コメント済み: Ron Nativ 2024 年 2 月 13 日
Dear all,
I am having trouble printing the following figure (see attached file). My two issues are:
(1) The colorbar (with title 'power [dB]') is printed OUTSIDE the figure,
(2) The right y-axis label overlaps it.
Can someone propose a solution to these? I am attaching my script. Thanks!
Ron

採用された回答

Matt J
Matt J 2024 年 2 月 11 日
編集済み: Matt J 2024 年 2 月 11 日
Enlarge the figure window.
  10 件のコメント
Ron Nativ
Ron Nativ 2024 年 2 月 13 日
It is because the seismic data were logged on 200 Hz and the figure contains data from 4 stations.
Ron Nativ
Ron Nativ 2024 年 2 月 13 日
ok, problem solved using the appearance settings of TiledLayout, specifically something in the form of:
figure1 = figure('InvertHardcopy','off','Color',[1 1 1],'Position', [10 10 400 300]);
t = tiledlayout(2,2,'TileSpacing','Compact','Padding','Compact');
t.InnerPosition(1) = t.InnerPosition(1)+t.InnerPosition(1)*1.5;
t.InnerPosition(2) = t.InnerPosition(2)+t.InnerPosition(2)*2.5;
t.InnerPosition(3) = t.InnerPosition(3)*0.925;
t.InnerPosition(4) = t.InnerPosition(4)*0.75;
t.OuterPosition(3) = t.OuterPosition(3)*0.85;
t.OuterPosition(4) = t.OuterPosition(4)*0.75;

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by