Size of numbers on plot
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Wasim Ramadan
am 22 Apr. 2020
Kommentiert: Ameer Hamza
am 23 Apr. 2020
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 Kommentare
Tommy
am 22 Apr. 2020
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
Akzeptierte Antwort
Ameer Hamza
am 22 Apr. 2020
You can try to change the font size of the labels
ax = subplot(12,2,1);
plot(1:10);
ax.FontSize = 16;
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Axis Labels finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!