# HG changeset patch # User Rik # Date 1621030756 25200 # Node ID df0f97c4fb180b3fc639f6943d548c04cc13ce1c # Parent d3a02b27fa6aa11d111e0b57318a3e18998ceafd Add "FaceColor" property to contour hggroups for Matlab compatibility (bug #60513). * __contour__.m: Call addproperty() to add "FaceColor" property to contour group. diff -r d3a02b27fa6a -r df0f97c4fb18 scripts/plot/draw/private/__contour__.m --- a/scripts/plot/draw/private/__contour__.m Fri May 14 14:43:09 2021 -0700 +++ b/scripts/plot/draw/private/__contour__.m Fri May 14 15:19:16 2021 -0700 @@ -197,6 +197,9 @@ addproperty ("linestyle", hg, "linelinestyle", linespec.linestyle); addproperty ("linewidth", hg, "linelinewidth", 0.5); + ## Matlab property just for compatibility (bug #60513). + addproperty ("facecolor", hg, "patchfacecolor", "none"); + ## Matlab property, although Octave does not implement it. addproperty ("hittestarea", hg, "radio", "on|{off}", "off");