Path: news.mathworks.com!not-for-mail
From: "John D'Errico" <woodchips@rochester.rr.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Contour graph help!
Date: Wed, 2 Jul 2008 15:29:02 +0000 (UTC)
Organization: John D'Errico (1-3LEW5R)
Lines: 23
Message-ID: <g4g6ru$3kd$1@fred.mathworks.com>
References: <g4g53m$7mf$1@fred.mathworks.com>
Reply-To: "John D'Errico" <woodchips@rochester.rr.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 1215012542 3725 172.30.248.35 (2 Jul 2008 15:29:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 2 Jul 2008 15:29:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869215
Xref: news.mathworks.com comp.soft-sys.matlab:477142



"Zijia Li" <triplezzz21@gmail.com> wrote in message 
<g4g53m$7mf$1@fred.mathworks.com>...
> I'm looking to make a contour graph with:
> X-axis being dates (increasing to the right)
> Y-axis being different lake water depth(increasing downward)
> and Color from red to blue on the graph indicating various
> temperatures with legend indicating which color is which
> temperature.
> This way you can find the temperature of the exact data and
> water depth by comparing the color at that point with the
> legend.
> How do I do this in matlab? I tried contourf but couldn't
> get it to work right. Any help? 
> I'm using matlab 5.3 right now, but any if the method is for
> a newer version, it is welcome too since I might be able to
> get a copy of the newest version.
> 
> Thanks

What did you try? What did not work? Contourf
is the correct tool for this purpose.

John