Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Changing ALL fonts in a figure
Replies: 4   Last Post: Oct 17, 2008 11:16 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Mike

Posts: 28
Registered: 12/6/04
Re: Changing ALL fonts in a figure
Posted: Oct 17, 2008 11:26 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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)
>





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.