How can I personalize at the same time both the figure's size and the axis fontsize?

2 views (last 30 days)
Ander de Marcos Arocena
Ander de Marcos Arocena on 7 Jun 2021
Hi, I want to adjust my figure to a certain size in order to export it. At the same time, I want to increase the fontsize of the numbers in the corresponding axis (yticks). I already know how to change the xlabel or ylabel but I want to change these small numbers numbers too.
In addition I would also apreciate another way of inserting greek symbols and other type of characters in the xlabel or ylabel without using latex interpreter becouse it changes the font style.
Than you in advanced,
ax = gca;
ax.FontSize = 40;
axes('Position',[xini ytop width height]);
xlabel('$\theta [rad]$','Interpreter','latex','FontSize',50)

Answers (1)

Srivardhan Gadila
Srivardhan Gadila on 14 Jun 2021
For changing the figure size refer to Change Figure Size and Figure Properties.

Community Treasure Hunt

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

Start Hunting!