Path: news.mathworks.com!not-for-mail
From: "us " <us@neurol.unizh.ch>
Newsgroups: comp.soft-sys.matlab
Subject: Re: surfc help
Date: Mon, 6 Aug 2007 06:49:07 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 13
Message-ID: <f96g93$2d0$1@fred.mathworks.com>
References: <f965ui$pj4$1@fred.mathworks.com>
Reply-To: "us " <us@neurol.unizh.ch>
NNTP-Posting-Host: webapp-01-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186382947 2464 172.30.248.36 (6 Aug 2007 06:49:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 6 Aug 2007 06:49:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:422541


John L:
<SNIP now: contours on the surface...

one of the solutions

     [x,y,z]=peaks(32);
     surfl(x,y,z);
     shading interp;
     hold on;
     [lh,lh]=contour3(x,y,z);
     set(lh,'linewidth',1.5);

us