Path: news.mathworks.com!not-for-mail
From: "Zijia Li" <triplezzz21@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Contour graph help!
Date: Thu, 3 Jul 2008 18:42:02 +0000 (UTC)
Organization: University of Michigan
Lines: 29
Message-ID: <g4j6hq$bha$1@fred.mathworks.com>
References: <g4g53m$7mf$1@fred.mathworks.com> <g4ik8s$lf5$1@fred.mathworks.com> <g4ip8b$q7c$1@fred.mathworks.com> <g4j3va$8ba$1@fred.mathworks.com> <g4j4om$1v8$1@canopus.cc.umanitoba.ca>
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 1215110522 11818 172.30.248.35 (3 Jul 2008 18:42:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 3 Jul 2008 18:42:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1431276
Xref: news.mathworks.com comp.soft-sys.matlab:477438



roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in
message <g4j4om$1v8$1@canopus.cc.umanitoba.ca>...
> In article <g4j3va$8ba$1@fred.mathworks.com>,
> Zijia Li <triplezzz21@gmail.com> wrote:
> >so, no one knows why it's giving that error message?
> 
> You are probably referring to the error message you
mentioned earlier
> in the thread when you turned on shading interp,
> "warning:color data is not set for interpolated shading"
> 
> The reason it is giving you that error is that ... you haven't
> set the color data needed for interpolated shading.
> For interpolated shading, the CData of FaceVertexCData
properties
> must be specified as truecolor, RGB, one color per vertex.
> contourf does not happen to create the appropriate data
structures
> that way.
> 
> -- 
>   "Man's life is but a jest,
>    A dream, a shadow, bubble, air, a vapor at the best."
>                                          -- George Walter
Thornbury



How exactly do you do that?