Set Axis Font Size Independently in Matlab

  • Context: MATLAB 
  • Thread starter Thread starter hokhani
  • Start date Start date
  • Tags Tags
    Axis Font Matlab
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 3K views
hokhani
Messages
647
Reaction score
28
To set axis font size I use
Code:
set(gca,'FontSize',20)
but this command also acts on legend font size. How to set axis font size independently?
 
Physics news on Phys.org