フィルターのクリア

Size of numbers on plot

2 ビュー (過去 30 日間)
Wasim Ramadan
Wasim Ramadan 2020 年 4 月 22 日
コメント済み: Ameer Hamza 2020 年 4 月 23 日
I am trying to have multiple subplots. Yet, when I save as PDF, the numbers on x and y axis seem to be very close to each other and I want to avoid that
  6 件のコメント
Tommy
Tommy 2020 年 4 月 22 日
You could play around with the FontSize property of each set of axes and the Rotation of each YLabel:
for i = 1:24
ax = subplot(12,2,i);
p = plot(rand(10,1),'r');
xlabel(ax, 'Time (s)');
ylabel(ax, ' Acceleration (g) ');
axis(ax, 'tight');
set(ax, 'FontSize', 12);
set(get(ax, 'YLabel'), 'Rotation', 70);
end
Wasim Ramadan
Wasim Ramadan 2020 年 4 月 22 日
Perfect solution Tommy, thats what I was looking for.
thank you.

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

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 4 月 22 日
You can try to change the font size of the labels
ax = subplot(12,2,1);
plot(1:10);
ax.FontSize = 16;
  2 件のコメント
Wasim Ramadan
Wasim Ramadan 2020 年 4 月 22 日
Thank you for your answer Ameer.
Ameer Hamza
Ameer Hamza 2020 年 4 月 23 日
Glad to be of help.

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

その他の回答 (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