<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/234974</link>
    <title>MATLAB Central Newsreader - How to set font size in axis tick labels?</title>
    <description>Feed for thread: How to set font size in axis tick labels?</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>Thu, 21 Aug 2008 21:11:02 -0400</pubDate>
      <title>How to set font size in axis tick labels?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/234974#596829</link>
      <author>Mark Proulx</author>
      <description>How do I set the font size in my axis tick labels?  I've &lt;br&gt;
set the &quot;tick label mode&quot; from 'auto' to 'manual,' but &lt;br&gt;
haven't been able to get beyond this.  I figure that if I &lt;br&gt;
could find the handle value for the axis labels, I'd have &lt;br&gt;
it made, but I can't figure out how to do this, either.</description>
    </item>
    <item>
      <pubDate>Thu, 21 Aug 2008 23:05:14 -0400</pubDate>
      <title>Re: How to set font size in axis tick labels?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/234974#596855</link>
      <author>Walter Roberson</author>
      <description>Mark Proulx wrote:&lt;br&gt;
&amp;gt; How do I set the font size in my axis tick labels?&lt;br&gt;
&lt;br&gt;
Set the FontSize property of the axes.&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; plot(rand(1,20));set(gca,'FontSize',3)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Q = quotation(rand);&lt;br&gt;
if isempty(Q); error('Quotation server filesystem problems')&lt;br&gt;
else sprintf('%s',Q), end</description>
    </item>
    <item>
      <pubDate>Thu, 21 Aug 2008 23:06:01 -0400</pubDate>
      <title>Re: How to set font size in axis tick labels?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/234974#596856</link>
      <author>Matt Fig</author>
      <description>The handles for the axis labels are stored in the 'xlabel'&lt;br&gt;
property of the axes.&lt;br&gt;
&lt;br&gt;
plot([1:10])&lt;br&gt;
xlhand = get(gca,'xlabel')&lt;br&gt;
set(xlhand,'string','X','fontsize',20)</description>
    </item>
    <item>
      <pubDate>Thu, 21 Aug 2008 23:21:01 -0400</pubDate>
      <title>Re: How to set font size in axis tick labels?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/234974#596857</link>
      <author>Mark Proulx</author>
      <description>Walter Roberson &amp;lt;roberson@hushmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;Kwmrk.101670$nD.18048@pd7urf1no&amp;gt;...&lt;br&gt;
&amp;gt; Mark Proulx wrote:&lt;br&gt;
&amp;gt; &amp;gt; How do I set the font size in my axis tick labels?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Set the FontSize property of the axes.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; plot(rand(1,20));set(gca,'FontSize',3)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; -- &lt;br&gt;
&amp;gt; Q = quotation(rand);&lt;br&gt;
&amp;gt; if isempty(Q); error('Quotation server filesystem &lt;br&gt;
problems')&lt;br&gt;
&amp;gt; else sprintf('%s',Q), end&lt;br&gt;
&lt;br&gt;
It worked great;  huge thanks!&lt;br&gt;
&lt;br&gt;
Mark</description>
    </item>
    <item>
      <pubDate>Thu, 21 Aug 2008 23:22:02 -0400</pubDate>
      <title>Re: How to set font size in axis tick labels?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/234974#596858</link>
      <author>Mark Proulx</author>
      <description>&quot;Matt Fig&quot; &amp;lt;spamanon@yahoo.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g8kscp$rvb$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; The handles for the axis labels are stored in the 'xlabel'&lt;br&gt;
&amp;gt; property of the axes.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; plot([1:10])&lt;br&gt;
&amp;gt; xlhand = get(gca,'xlabel')&lt;br&gt;
&amp;gt; set(xlhand,'string','X','fontsize',20)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Many thanks for the answer.  While Walt's answer got me out &lt;br&gt;
of my immediate difficulty, your answer gives me &lt;br&gt;
information that will be useful in the long term!&lt;br&gt;
&lt;br&gt;
Mark</description>
    </item>
    <item>
      <pubDate>Wed, 08 Jul 2009 20:32:19 -0400</pubDate>
      <title>How do we do this for only the x axis ??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/234974#663729</link>
      <author>Juliette Salexa</author>
      <description>How do we do this for only the x axis and NOT the y axis ??</description>
    </item>
    <item>
      <pubDate>Wed, 08 Jul 2009 21:27:30 -0400</pubDate>
      <title>Re: How do we do this for only the x axis ??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/234974#663753</link>
      <author>TideMan</author>
      <description>On Jul 9, 8:32&#160;am, &quot;Juliette Salexa&quot; &amp;lt;juliette.physic...@gmail.com&amp;gt;&lt;br&gt;
wrote:&lt;br&gt;
&amp;gt; How do we do this for only the x axis and NOT the y axis ??&lt;br&gt;
&lt;br&gt;
Look at Matt Fig's post.&lt;br&gt;
That shows you how to apply only to the x-axis.</description>
    </item>
    <item>
      <pubDate>Wed, 08 Jul 2009 21:29:52 -0400</pubDate>
      <title>Re: How do we do this for only the x axis ??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/234974#663754</link>
      <author>Nathan</author>
      <description>On Jul 8, 2:27&#160;pm, TideMan &amp;lt;mul...@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; On Jul 9, 8:32&#160;am, &quot;Juliette Salexa&quot; &amp;lt;juliette.physic...@gmail.com&amp;gt;&lt;br&gt;
&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; How do we do this for only the x axis and NOT the y axis ??&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Look at Matt Fig's post.&lt;br&gt;
&amp;gt; That shows you how to apply only to the x-axis.&lt;br&gt;
&lt;br&gt;
Matt Fig's post applies to the Xlabel, not Xlabelticks, as I think&lt;br&gt;
Juliette is wanting.&lt;br&gt;
I almost said the same thing until I figured that out.&lt;br&gt;
&lt;br&gt;
And sorry, I can't figure it out either.&lt;br&gt;
-Nathan</description>
    </item>
    <item>
      <pubDate>Wed, 08 Jul 2009 21:45:03 -0400</pubDate>
      <title>Re: How do we do this for only the x axis ??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/234974#663761</link>
      <author>Juliette Salexa</author>
      <description>Yes those methods listed above (trust me I've tried them all) only work for the xlabels, and for XTickLabels, modifying the fontsize modifies the YTickLabels fontsizes simultaneously.&lt;br&gt;
&lt;br&gt;
There should be a way around this .. anyone know ??</description>
    </item>
    <item>
      <pubDate>Wed, 08 Jul 2009 22:06:43 -0400</pubDate>
      <title>Re: How do we do this for only the x axis ??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/234974#663767</link>
      <author>Doug Schwarz</author>
      <description>In article &amp;lt;h3340v$rft$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
&amp;nbsp;&quot;Juliette Salexa&quot; &amp;lt;juliette.physicist@gmail.com&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; Yes those methods listed above (trust me I've tried them all) only work for &lt;br&gt;
&amp;gt; the xlabels, and for XTickLabels, modifying the fontsize modifies the &lt;br&gt;
&amp;gt; YTickLabels fontsizes simultaneously.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; There should be a way around this .. anyone know ??&lt;br&gt;
&lt;br&gt;
There is not.  The property that controls both the XTickLabels and &lt;br&gt;
YTickLabels is FontSize.  The only thing you can do is create separate &lt;br&gt;
text items and put them where you want the labels to go.&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Doug Schwarz&lt;br&gt;
dmschwarz&amp;ieee,org&lt;br&gt;
Make obvious changes to get real email address.</description>
    </item>
  </channel>
</rss>

