Path: news.mathworks.com!not-for-mail
From: "Zijia Li" <triplezzz21@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Contour graph help!
Date: Wed, 2 Jul 2008 14:54:02 +0000 (UTC)
Organization: University of Michigan
Lines: 15
Message-ID: <g4g4qa$3k1$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 1215010442 3713 172.30.248.35 (2 Jul 2008 14:54:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 2 Jul 2008 14:54:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1431276
Xref: news.mathworks.com comp.soft-sys.matlab:477131



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 that in matlab? I tried contourf but couldn't
get it to work right. I'm using an old version of Matlab
right now (5.3), but if the method is for the newer
versions, it is welcome too, since I might be able to get my
hand on a newer copy.
Thanks