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 16:40:03 +0000 (UTC)
Organization: John D'Errico (1-3LEW5R)
Lines: 28
Message-ID: <g4gb13$rss$1@fred.mathworks.com>
References: <g4g53m$7mf$1@fred.mathworks.com> <g4g6ru$3kd$1@fred.mathworks.com> <g4g8rn$3bk$1@fred.mathworks.com>
Reply-To: "John D'Errico" <woodchips@rochester.rr.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1215016803 28572 172.30.248.38 (2 Jul 2008 16:40:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 2 Jul 2008 16:40:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869215
Xref: news.mathworks.com comp.soft-sys.matlab:477158


"Zijia Li" <triplezzz21@gmail.com> wrote in message 
<g4g8rn$3bk$1@fred.mathworks.com>...
> 
> > What did you try? What did not work? Contourf
> > is the correct tool for this purpose.
> > 
> > John
> The problem is that the temperature and date/time matrix are
> 9694x1 so it is giving the error "index exceeds matrix
> dimensions" when I use contourf.
> any way to bypass this or some other way to do it?

You can't "bypass" it.

Your data is not in the form that contourf needs.
How is contourf to know what how you wish it
to interpret that vector of data? Do you have the
mindreading toolbox installed? (This is a new
one that they try to keep secret until they get
all the bugs out of it. The biggest problem is
the requirement that you install electric wires
directly into your brain. Few people seem to like
that idea.)

Seriously, what does this vector of length 9694
contain?

John