Angela Waner Posted January 22, 2011 Share Posted January 22, 2011 Is there an easy way to increase the font size for all the text elments on a histogram or scatterplot Right now Iam changing the font size for each title, axis labels and legend. This is OK for one or two graphs. But it is tiring when I need to change 10 graphs. Mara Link to comment Share on other sites More sharing options...
Mark Carson Posted August 6, 2018 Share Posted August 6, 2018 Hello Mara, Go to File-->Options, then under Graphs-->Display, you can change thr font for all graphs. Please see the attachment. Try this and let me know how it works for you. Mark Link to comment Share on other sites More sharing options...
Mehwish Yati Posted February 25, 2020 Share Posted February 25, 2020 I use findall to change the font size for all text in a single figure: set(findall(gcf,'-property','FontSize'),'FontSize',12) DefaultAxesFontSize is a better programming practice, but when you use set() the property names are not case sensitive. You can also go to fontvilla for to check different sizes of custom fonts. set(0,'defaultaxisfontsize',30) or set(0, 'DefaultAxesFontSize', 30) only works for axes text created after the call to set(); it does not change the size for any existing text object, which the findall() version does change. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now