Path: news.mathworks.com!not-for-mail
From: "Zijia Li" <triplezzz21@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Contour graph help!
Date: Wed, 2 Jul 2008 18:42:01 +0000 (UTC)
Organization: University of Michigan
Lines: 29
Message-ID: <g4gi5p$4r8$1@fred.mathworks.com>
References: <g4g53m$7mf$1@fred.mathworks.com> <g4ggja$d0o$1@fred.mathworks.com>
Reply-To: "Zijia Li" <triplezzz21@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 1215024121 4968 172.30.248.35 (2 Jul 2008 18:42:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 2 Jul 2008 18:42:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1431276
Xref: news.mathworks.com comp.soft-sys.matlab:477196



This may be more clear
here is the M-file code:
load dateTime.txt
load depth.txt
load surfaceTemp.txt
load temp5.txt
load temp10.txt
load temp15.txt
load temp20.txt
load temp30.txt
load temp50.txt
load temp70.txt
load temp90.txt
load temp110.txt
load temp140.txt
[x,y]=meshgrid(dateTime,depth);
surfaceTemp=surfaceTemp.';
temp5=temp5.';
temp10=temp10.';
temp15=temp15.';
temp20=temp20.';
temp30=temp30.';
temp50=temp50.';
temp70=temp70.';
temp90=temp90.';
temp110=temp110.';
temp140=temp140.';
temp=[surfaceTemp;temp5;temp10;temp15;temp20;temp30;temp50;temp70;temp90;temp110;temp140];
contourf(x,y,temp)