<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/258134</link>
    <title>MATLAB Central Newsreader - adjust colorbar axis in color plot</title>
    <description>Feed for thread: adjust colorbar axis in color plot</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>Mon, 10 Aug 2009 10:40:22 -0400</pubDate>
      <title>adjust colorbar axis in color plot</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/258134#671884</link>
      <author>Nachiketa </author>
      <description>can anyone tell me how to specify how to specify the scale in the color-bar instead of the default-regular scale.&lt;br&gt;
&lt;br&gt;
Ex:&lt;br&gt;
&amp;gt;&amp;gt;caxis([-500,500])&lt;br&gt;
&lt;br&gt;
&amp;nbsp;then it gives -500,0,500&lt;br&gt;
&lt;br&gt;
but I want to set axis like this, with different colors: &lt;br&gt;
-500,-300,-150,-50,0,50,150,300,500&lt;br&gt;
&lt;br&gt;
can anyone suggest me what should I use, which function...or anything that solves my problem....&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks in advance:-)</description>
    </item>
    <item>
      <pubDate>Mon, 10 Aug 2009 13:22:17 -0400</pubDate>
      <title>Re: adjust colorbar axis in color plot</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/258134#671916</link>
      <author>Lorenzo Guerrasio</author>
      <description>&quot;Nachiketa &quot; &amp;lt;nachiketaacharya@gmail.com&amp;gt; wrote in message &amp;lt;h5otem$3pe$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; can anyone tell me how to specify how to specify the scale in the color-bar instead of the default-regular scale.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Ex:&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt;caxis([-500,500])&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;  then it gives -500,0,500&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; but I want to set axis like this, with different colors: &lt;br&gt;
&amp;gt; -500,-300,-150,-50,0,50,150,300,500&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; can anyone suggest me what should I use, which function...or anything that solves my problem....&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks in advance:-)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
help colorbar&lt;br&gt;
if it is a countor plot something like this&lt;br&gt;
your_level_lst=[-500,-300,-150,-50,0,50,150,300,500];    [Cctrl,Hctrl]=contourf(Xg,Yg,dispersion,'levellistmode','manual','levellist',your_level_lst,'linestyle','-');</description>
    </item>
  </channel>
</rss>

