Size of numbers on plot
Mostrar comentarios más antiguos
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 comentarios
Ameer Hamza
el 22 de Abr. de 2020
Can you give a simple code to create subfigure you are creating and exporting it to the pdf file?
Wasim Ramadan
el 22 de Abr. de 2020
Ameer Hamza
el 22 de Abr. de 2020
It seems that you are already making very narrow plots. If it appears small on the figure window, then the print will also be small.
Wasim Ramadan
el 22 de Abr. de 2020
Tommy
el 22 de Abr. de 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
Wasim Ramadan
el 22 de Abr. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Grid Lines, Tick Values, and Labels en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!