Hi everybody, My problem is the following.
I need to change the default size of the text displayed in the figure legends, setting it, for example, to 22. Therefore I have inserted in the startup file, where I define my default graphics preferences, the following command:
Curiosly, I didn't get any error, but the command does not work, that is, Matlab continues to produce legend whose labels have the same font size (26) that I have set for x/y-axis label using set(0,'DefaultTextFontSize',26);
I have read that the command set(0,'DefaultTextFontSize',26); should set the font size also of legend. For this reason I have written in my startup file the set(0,'DefaultLegendFontSize',22); AFTER set(0,'DefaultTextFontSize',26); hoping in this way to 're-write' for labels the general option set for text.
A strange thing is that set(0,'DefaultLegendFontSize',22);, which does not work, does not produce any error message..
Does anyone know how to change the default size of text in labels? I know how to change it once created each figure using for example
but I would prefer to change it by default
Thanks in advance, Giovanni Betti Beneventi