Path: news.mathworks.com!not-for-mail
From: "Nachiketa " <nachiketaacharya@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: adjust colorbar axis in color plot
Date: Mon, 10 Aug 2009 10:40:22 +0000 (UTC)
Organization: indian institute of technology
Lines: 15
Message-ID: <h5otem$3pe$1@fred.mathworks.com>
Reply-To: "Nachiketa " <nachiketaacharya@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1249900822 3886 172.30.248.35 (10 Aug 2009 10:40:22 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 10 Aug 2009 10:40:22 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1930013
Xref: news.mathworks.com comp.soft-sys.matlab:562072


can anyone tell me how to specify how to specify the scale in the color-bar instead of the default-regular scale.

Ex:
>>caxis([-500,500])

 then it gives -500,0,500

but I want to set axis like this, with different colors: 
-500,-300,-150,-50,0,50,150,300,500

can anyone suggest me what should I use, which function...or anything that solves my problem....



Thanks in advance:-)