Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to use data to plot 2D image
Date: Mon, 9 Mar 2009 20:02:02 +0000 (UTC)
Organization: Atlantic Inertial Systems
Lines: 17
Message-ID: <gp3sjq$nqj$1@fred.mathworks.com>
References: <gp3601$dr4$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1236628922 24403 172.30.248.35 (9 Mar 2009 20:02:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 9 Mar 2009 20:02:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1405925
Xref: news.mathworks.com comp.soft-sys.matlab:523581


"Soo Jin Toh" <nicks_soojin@hotmail.com> wrote in message <gp3601$dr4$1@fred.mathworks.com>...
> I'm really new to MatLab
> I have a .csv file which contain X, Y coordinates (800) and the another column indicates the resistance of each points.
> I know how to read the .csv file to matlab,
> but I dunno how to define X, Y and Resistance and the color represent by different resistance.
> Can anyone help me with this..
> I need it urgently...
> thanks...

% make plot
[mX mY] = meshgrid(X, Y);
mesh(mX, mY, R)

% colormap info
help colormap

~Adam