Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: patch created from isosurface hides plot3 inside the surface
Date: Thu, 29 May 2008 10:03:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <g1lv0n$6em$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1212055383 6614 172.30.248.37 (29 May 2008 10:03:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 29 May 2008 10:03:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1395525
Xref: news.mathworks.com comp.soft-sys.matlab:471118



Hi all,
I was trying to create patches from an isosurface from a 
3-D array A (1 being inside the object, and 0 outside) using
the command:
patch(reducepatch(isosurface(x,y,z,A, 0), P))

Upon the surface creation, I was trying to use plot3 to plot
some of the datum points which is supposed to be on the
surface.  However, the datum points always like to be shown
"inside" the surface, rather than half-half, or on the
surface.  This makes visualization very difficult.

I guess the image below explains it all:
[url=points_hiding_inside_surface][img]http://img2.freeimagehosting.net/uploads/54addd07b2.png[/img][/url]
http://img2.freeimagehosting.net/uploads/54addd07b2.png

Is there any way I could get the plot more visible?

Thanks,
Abe