Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: patch created from isosurface hides plot3 inside the surface
Date: Mon, 16 Jun 2008 08:12:01 +0000 (UTC)
Organization: Universit&#224; degli Studi di Trieste
Lines: 43
Message-ID: <g3578h$djn$1@fred.mathworks.com>
References: <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 1213603921 13943 172.30.248.37 (16 Jun 2008 08:12:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 16 Jun 2008 08:12:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 9468
Xref: news.mathworks.com comp.soft-sys.matlab:473916




you can use alpha(0.1) to make the isosurface transparent

%%%%
.... alpha sets one of three transparency
properties, depending on what arguments you specify with 
the call to this function.








"Abe Lau" <abe@nonexistancegmail.com> wrote in message 
<g1lv0n$6em$1@fred.mathworks.com>...
> 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