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 19:50:19 +0000 (UTC)
Organization: University of Michigan
Lines: 13
Message-ID: <g4gm5r$rm1$1@fred.mathworks.com>
References: <g4g53m$7mf$1@fred.mathworks.com> <g4ggja$d0o$1@fred.mathworks.com> <g4gi5p$4r8$1@fred.mathworks.com>
Reply-To: "Zijia Li" <triplezzz21@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 1215028219 28353 172.30.248.37 (2 Jul 2008 19:50:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 2 Jul 2008 19:50:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1431276
Xref: news.mathworks.com comp.soft-sys.matlab:477208



Ok 
So, I when I do contourf(x,y,temp,1000), it makes the graph
with 1000 colors, but it has a lot of black lines. So I did
contour(x,y,temp,2000). This makes the graph with 2000
colors(takes like half and hour to make), which looks really
good but the legend has 63 different color blocks with
data1-data63 labeled by it. I don't know where it got the 63
temperature labels from. 
What I want is one bar of color transitioning from blue to
red labeled 0C on top by blue and 25C on the bottom by the red. 

Can I do that on matlab? If so, how?