<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169353</link>
    <title>MATLAB Central Newsreader - Specify interval for axis?</title>
    <description>Feed for thread: Specify interval for 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>Thu, 15 May 2008 22:07:56 -0400</pubDate>
      <title>Specify interval for axis?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169353#432375</link>
      <author>saneman</author>
      <description>Is it possible to specify the interval to list numbers on the axis? I &lt;br&gt;
currently use:&lt;br&gt;
&lt;br&gt;
axis([0 100 0 100])&lt;br&gt;
&lt;br&gt;
But instead of only labeling 0, 10, 20,...,100 etc. I would like 0, 5, 10, &lt;br&gt;
15, 20, ...,100 on the axis instead.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 15 May 2008 22:36:11 -0400</pubDate>
      <title>Re: Specify interval for axis?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169353#432384</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;g0ic75$mqu$1@news.net.uni-c.dk&amp;gt;, saneman &amp;lt;asd@ad.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;Is it possible to specify the interval to list numbers on the axis? I &lt;br&gt;
&amp;gt;currently use:&lt;br&gt;
&lt;br&gt;
&amp;gt;axis([0 100 0 100])&lt;br&gt;
&lt;br&gt;
&amp;gt;But instead of only labeling 0, 10, 20,...,100 etc. I would like 0, 5, 10, &lt;br&gt;
&amp;gt;15, 20, ...,100 on the axis instead.&lt;br&gt;
&lt;br&gt;
No, there is not way to set an interval. You can, though, specify&lt;br&gt;
the exact ticks you want, by setting the axes XTick or YTick to the&lt;br&gt;
values at which you wish a tick to be placed. For example,&lt;br&gt;
&lt;br&gt;
set(gca,'XTick', 0:5:100);&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;"Prevention is the daughter of intelligence."&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-- Sir Walter Raleigh&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 16 May 2008 10:16:02 -0400</pubDate>
      <title>Re: Specify interval for axis?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169353#432455</link>
      <author>aasim Azooz</author>
      <description>"saneman" &amp;lt;asd@ad.com&amp;gt; wrote in message &amp;lt;g0ic75&lt;br&gt;
$mqu$1@news.net.uni-c.dk&amp;gt;...&lt;br&gt;
&amp;gt; Is it possible to specify the interval to list numbers on &lt;br&gt;
the axis? I &lt;br&gt;
&amp;gt; currently use:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; axis([0 100 0 100])&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; But instead of only labeling 0, 10, 20,...,100 etc. I &lt;br&gt;
would like 0, 5, 10, &lt;br&gt;
&amp;gt; 15, 20, ...,100 on the axis instead.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; use edit axis properties&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 16 May 2008 10:18:01 -0400</pubDate>
      <title>Re: Specify interval for axis?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169353#432456</link>
      <author>aasim Azooz</author>
      <description>"saneman" &amp;lt;asd@ad.com&amp;gt; wrote in message &amp;lt;g0ic75&lt;br&gt;
$mqu$1@news.net.uni-c.dk&amp;gt;...&lt;br&gt;
&amp;gt; Is it possible to specify the interval to list numbers on &lt;br&gt;
the axis? I &lt;br&gt;
&amp;gt; currently use:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; axis([0 100 0 100])&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; But instead of only labeling 0, 10, 20,...,100 etc. I &lt;br&gt;
would like 0, 5, 10, &lt;br&gt;
&amp;gt; 15, 20, ...,100 on the axis instead.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; use edit axis properties&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 16 May 2008 10:18:02 -0400</pubDate>
      <title>Re: Specify interval for axis?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169353#432457</link>
      <author>aasim Azooz</author>
      <description>"saneman" &amp;lt;asd@ad.com&amp;gt; wrote in message &amp;lt;g0ic75&lt;br&gt;
$mqu$1@news.net.uni-c.dk&amp;gt;...&lt;br&gt;
&amp;gt; Is it possible to specify the interval to list numbers on &lt;br&gt;
the axis? I &lt;br&gt;
&amp;gt; currently use:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; axis([0 100 0 100])&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; But instead of only labeling 0, 10, 20,...,100 etc. I &lt;br&gt;
would like 0, 5, 10, &lt;br&gt;
&amp;gt; 15, 20, ...,100 on the axis instead.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; use edit axis properties&lt;br&gt;
&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
