octave-maintainers
[Top][All Lists]
Advanced

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

Re: Help with Hidden Line Removal option


From: Ben Abbott
Subject: Re: Help with Hidden Line Removal option
Date: Sun, 04 Aug 2013 15:37:42 -0400

On Aug 4, 2013, at 2:53 PM, Rik wrote:

> 8/4/13
> 
> Can someone run a test in Matlab for me?  For mesh objects the hidden()
> function controls whether the mesh is opaque or transparent.  For
> transparent, Octave sets the facecolor to "none".  For opaque, Octave is
> setting the facecolor to "w" or white.  This makes sense if the axis
> background color is white, but if the axis background is some other color
> it seems like it should be grabbing that from the axis property and using
> it for the facecolor instead.
> 
> ------- Sample Code --------
> clf;
> Z = peaks ();
> mesh (Z);
> %% What are the color of the mesh rectangles (should be white)
> hax = gca;
> set (hax, 'color', [0.3 0.3 0.3]);
> %% What are the color of the mesh rectangles?
> hidden off
> hidden on
> %% What are the color of the mesh rectangles?
> ------- End Sample Code --------
> 
> --Rik

The facecolor is, and is rendered as white in each case.

Ben



reply via email to

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