default font and size for all figures

  • Follow


What are the commands to set the default font and font size for figures and figure objects? I've found 'FontName' and 'FontSize' for each object. But I want a system wide settings. Thanks
0
Reply John 1/12/2010 4:13:05 PM

"John Densmore" <jrmrdrernsmore.remove4rs@gmail.com> wrote in message <hii72h$bbe$1@fred.mathworks.com>...
> What are the commands to set the default font and font size for figures and figure objects? I've found 'FontName' and 'FontSize' for each object. But I want a system wide settings. Thanks

Hi John, One way is to use set(0,...) as in

set(0,'defaulttextfontsize',18);

save these commands in a startup.m file so they are set when Matlab starts.

Wayne
0
Reply Wayne 1/12/2010 4:28:03 PM


Hi Thanks,
where are all the properties I can set listed? I searched the help I could not find em.
0
Reply jrmrdrernsmore.remove4rs (12) 1/12/2010 4:33:03 PM

"John Densmore" <jrmrdrernsmore.remove4rs@gmail.com> wrote in message <hii87u$sm1$1@fred.mathworks.com>...
> Hi Thanks,
> where are all the properties I can set listed? I searched the help I could not find em.

Hi John, 

Look in the Matlab User's Guide under 
Graphics -> Handle Graphics Objects -> Setting Default Property Values

Hope that helps,
Wayne
0
Reply wmkingty (1429) 1/12/2010 5:08:04 PM

"John Densmore" <jrmrdrernsmore.remove4rs@gmail.com> wrote in message <hii87u$sm1$1@fred.mathworks.com>...
> Hi Thanks,
> where are all the properties I can set listed? I searched the help I could not find em.

John, another thing to do is to issue:

get(0,'default')

from the command line

Wayne
0
Reply wmkingty (1429) 1/12/2010 5:23:04 PM

4 Replies
513 Views

(page loaded in 0.076 seconds)

Similiar Articles:













7/24/2012 3:49:35 AM


Reply: