Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!f37g2000pri.googlegroups.com!not-for-mail
From: "russell.fung@gmail.com" <russell.fung@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Convert 2D graph into 3D
Date: Sat, 1 Nov 2008 17:02:42 -0700 (PDT)
Organization: http://groups.google.com
Lines: 10
Message-ID: <452c16b2-4836-4f48-b117-4312881617cc@f37g2000pri.googlegroups.com>
References: <geijkp$go4$1@fred.mathworks.com>
NNTP-Posting-Host: 70.94.42.83
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1225584163 6326 127.0.0.1 (2 Nov 2008 00:02:43 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 2 Nov 2008 00:02:43 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: f37g2000pri.googlegroups.com; posting-host=70.94.42.83; 
	posting-account=40KBCAoAAACMcpWjfyXfeKnqSR9nlxRk
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; 
	rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3,gzip(gfe),gzip(gfe)
Bytes: 1453
Xref: news.mathworks.com comp.soft-sys.matlab:498464


On Nov 1, 5:02=A0pm, "Pam" <smithpam...@yahoo.com> wrote:
> Hello,
>
> Can anyone tell me any way to convert 2D graph into 3D? I am generating f=
igure and using pcolor() right now and I have to create 3D using the same c=
ode.
>
> Thanks.

Try mesh() instead of pcolor().