octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does hidden() work with trimesh() ?


From: Ben Abbott
Subject: Re: Does hidden() work with trimesh() ?
Date: Wed, 25 Sep 2013 15:41:32 -0400

On Sep 25, 2013, at 2:05 PM, Rik wrote:

> 9/25/13
> 
> Could someone run this sample code in Matlab?
> 
> [x,y]=meshgrid(1:15,1:15);
> tri = delaunay(x,y);
> z = peaks(15);
> trimesh(tri,x,y,z);
> hidden off
> 
> After the call to hidden, are the faces of the triangles white (opaque) or
> can you see through them to the axis grid underneath (transparent and
> "facecolor" = "none")
> 
> Thanks,
> Rik

They are transparent.  The facecolor for the trimesh object is "none".

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]