<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237756</link>
    <title>MATLAB Central Newsreader - Font Size adjustment in Figure label and scale</title>
    <description>Feed for thread: Font Size adjustment in Figure label and scale</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sat, 18 Oct 2008 17:40:03 -0400</pubDate>
      <title>Font Size adjustment in Figure label and scale</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237756#606062</link>
      <author>Peter Schreiber</author>
      <description>Hi guys,&lt;br&gt;
Does somebody know how to adjust the font size for figure labes, and also the scale on the figure?&lt;br&gt;
The default is 10 but I would like to set it to 16.&lt;br&gt;
&lt;br&gt;
I tried the following, but it didn't work.&lt;br&gt;
&lt;br&gt;
set(gcf,'FontSize',16)&lt;br&gt;
&lt;br&gt;
Best Regards,&lt;br&gt;
Peter</description>
    </item>
    <item>
      <pubDate>Sat, 18 Oct 2008 23:01:56 -0400</pubDate>
      <title>Re: Font Size adjustment in Figure label and scale</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237756#606080</link>
      <author>Walter Roberson</author>
      <description>Peter Schreiber wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; Does somebody know how to adjust the font size for figure labes, and also the scale on the figure?&lt;br&gt;
&amp;gt; The default is 10 but I would like to set it to 16.&lt;br&gt;
&lt;br&gt;
&amp;gt; I tried the following, but it didn't work.&lt;br&gt;
&lt;br&gt;
&amp;gt; set(gcf,'FontSize',16)&lt;br&gt;
&lt;br&gt;
set(findobj(gcf,'Type','text'),'FontSize',16)</description>
    </item>
    <item>
      <pubDate>Sat, 18 Oct 2008 23:06:01 -0400</pubDate>
      <title>Re: Font Size adjustment in Figure label and scale</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237756#606081</link>
      <author>First Last</author>
      <description>&quot;Peter Schreiber&quot; &amp;lt;schreiber.peter15@gmail.com&amp;gt; wrote in message &amp;lt;gdd71j$6ln$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi guys,&lt;br&gt;
&amp;gt; Does somebody know how to adjust the font size for figure labes, and also the scale on the figure?&lt;br&gt;
&amp;gt; The default is 10 but I would like to set it to 16.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I tried the following, but it didn't work.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; set(gcf,'FontSize',16)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Best Regards,&lt;br&gt;
&amp;gt; Peter&lt;br&gt;
&lt;br&gt;
Hello Peter, to do this you have to grab a handle for the XLabel properties, which is a child of gca. So ... &lt;br&gt;
&lt;br&gt;
h_xlabel = get(gca,'XLabel');&lt;br&gt;
set(h_xlabel,'FontSize',N); &lt;br&gt;
&lt;br&gt;
where N is your font size number. To view the other properties that can be set, simply do a &lt;br&gt;
&lt;br&gt;
get(h_xlabel)&lt;br&gt;
&lt;br&gt;
It helps me to have 'more on' in order to view the output better.</description>
    </item>
  </channel>
</rss>

