Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!p73g2000hsd.googlegroups.com!not-for-mail
From: Adam Chapman <adam.chapman@student.manchester.ac.uk>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to plot functions of this type?
Date: Mon, 10 Mar 2008 08:26:30 -0700 (PDT)
Organization: http://groups.google.com
Lines: 12
Message-ID: <9946d131-6b55-4c06-82b6-d2968f7c15ed@p73g2000hsd.googlegroups.com>
References: <fr3a99$kue$1@fred.mathworks.com>
NNTP-Posting-Host: 91.109.109.81
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1205162790 30195 127.0.0.1 (10 Mar 2008 15:26:30 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 10 Mar 2008 15:26:30 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: p73g2000hsd.googlegroups.com; posting-host=91.109.109.81; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; 
Xref: news.mathworks.com comp.soft-sys.matlab:456350



On Mar 10, 12:41=A0pm, "Mohammad Monfared" <gohardo...@gmail.com> wrote:
> How to plot the functions of the type f(x,y,z)=3Dc , in
> matlab? which functions should be used?
>
> thanks!
> Reza M.

meshc os surf will work x,y and z will be 3d coordibates in your
figure and colour will depict c.

try mesh(x,y,z,c)
or surf(x,y,z,c)