<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/166522</link>
    <title>MATLAB Central Newsreader - Can one put text lables on a plot axis?</title>
    <description>Feed for thread: Can one put text lables on a plot axis?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The 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>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 28 Mar 2008 07:58:02 -0400</pubDate>
      <title>Can one put text lables on a plot axis?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/166522#423272</link>
      <author>Daniel Armyr</author>
      <description>Hi.&lt;br&gt;
I am working on a report and I have some tada that I would&lt;br&gt;
like to pot as a curve. The problem is that my X axis isn't&lt;br&gt;
a parameter that takes numerical values, but a list of&lt;br&gt;
components with names. &lt;br&gt;
&lt;br&gt;
Does anyone know if I can make a plot and exchange the&lt;br&gt;
x-axis markings with custom labels?&lt;br&gt;
&lt;br&gt;
Sincerely&lt;br&gt;
--DA&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 28 Mar 2008 08:41:05 -0400</pubDate>
      <title>Re: Can one put text lables on a plot axis?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/166522#423278</link>
      <author>Sven </author>
      <description>"Daniel Armyr" &amp;lt;firstname@lastname.se&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fsi8ea$9tr$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi.&lt;br&gt;
&amp;gt; I am working on a report and I have some tada that I would&lt;br&gt;
&amp;gt; like to pot as a curve. The problem is that my X axis isn't&lt;br&gt;
&amp;gt; a parameter that takes numerical values, but a list of&lt;br&gt;
&amp;gt; components with names. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Does anyone know if I can make a plot and exchange the&lt;br&gt;
&amp;gt; x-axis markings with custom labels?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Sincerely&lt;br&gt;
&amp;gt; --DA&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Hi Daniel, try this:&lt;br&gt;
&lt;br&gt;
ydata = [55:60]&lt;br&gt;
xdata = 1:length(ydata)&lt;br&gt;
xlabels = {'Jan','Feb','Mar','anything','you','like'}&lt;br&gt;
figure&lt;br&gt;
plot(xdata, ydata, '.b-')&lt;br&gt;
set(gca, 'Xtick', xdata, 'XtickLabel', xlabels)&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
Sven.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 31 Mar 2008 07:36:02 -0400</pubDate>
      <title>Re: Can one put text lables on a plot axis?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/166522#423671</link>
      <author>Daniel Armyr</author>
      <description>Sweet. Thanks.&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
