Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.
|
|
Mike
Posts:
28
Registered:
12/6/04
|
|
Re: Changing ALL fonts in a figure
Posted:
Oct 17, 2008 11:26 AM
|
|
Why is it that when i use the syntax
> fig=gcf; > set(findall(fig,'-property','FontSize'),'FontSize',12)
the fonts change but when i excute get(gcf) i dont see the 'FontSize' data? How can i view what is stored in the '-property' switch?
"Bruno Luong" <b.luong@fogale.fr> wrote in message <g67lll$1e1$1@fred.mathworks.com>... > "Jonathan " <none@domain.com> wrote in message > <g67hie$4f1$1@fred.mathworks.com>... > > Is there an easy way to change ALL the font sizes in a > > figure via hard code? I want to change the size similar to > > how it can be dont with the export feature but the only > > syntax i have come across is shown below but I dont want > > to have to set the text,axis,legent sizes seperate. > > > > set(0,'DefaulttextFontSize',fntsz) > > > > fig=gcf; > set(findall(fig,'-property','FontSize'),'FontSize',12) >
|
|
|
|