octave-maintainers
[Top][All Lists]
Advanced

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

Help with Hidden Line Removal option


From: Rik
Subject: Help with Hidden Line Removal option
Date: Sun, 04 Aug 2013 11:53:36 -0700

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



reply via email to

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