The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

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" <> wrote in message <g67lll$1e1$>...
> "Jonathan " <> wrote in message
> <g67hie$4f1$>...

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

© The Math Forum at NCTM 1994-2018. All Rights Reserved.