[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60513] contour hggroup does not have hidden "
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #60513] contour hggroup does not have hidden "facecolor" property like Matlab |
Date: |
Mon, 10 May 2021 23:23:15 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36 |
Follow-up Comment #4, bug #60513 (project octave):
It changes the facecolor of the surface object, but not not the contour object
below it. It's the contour object which doesn't seem to implement the
"FaceColor" property, although it supports setting/getting.
Try the code which isolates the contour object.
[X, Y] = meshgrid (linspace (-3, 3, 40));
Z = sqrt (abs (X .* Y)) ./ (1 + X.^2 + Y.^2);
[~, hc] = contour (X,Y,Z);
set (hc, 'facecolor', 'r');
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60513>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/