Path: news.mathworks.com!not-for-mail
From: "Sadik " <sadik.hava@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: plotting
Date: Fri, 16 Jan 2009 05:21:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <gkp5fu$n9h$1@fred.mathworks.com>
References: <gkp4ll$bco$1@fred.mathworks.com>
Reply-To: "Sadik " <sadik.hava@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1232083262 23857 172.30.248.37 (16 Jan 2009 05:21:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 16 Jan 2009 05:21:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1666517
Xref: news.mathworks.com comp.soft-sys.matlab:511938


"Mallu " <s_naik51@yahoo.co.in> wrote in message <gkp4ll$bco$1@fred.mathworks.com>...
> Hi,
> I have a small doubt, the thing is that I have divided a circle into 6 sectors and for each sector I have got one time signal reading , then I converted the polar coordinates into cartesian form. For each sector the X is an 1XnN array and Y is also an 1XN array, but the signal i.e the amplitude Z i have it as a N X N matrix .
> How can I plot it in 2D where the amplitude should also be represented.
> With Regards, 
> Mallu

I hope imagesc with a colorbar should work for you. The colorbar will represent the increasing values of the amplitude.

imagesc(Z);
colorbar;

Hope this helps.