Mercurial > octave-nkf
diff scripts/plot/private/__contour__.m @ 17527:76614e624818
Add "HitTestArea" property to certain hggroups for Matlab compatibility
* scripts/plot/area.m, scripts/plot/private/__bar__.m,
scripts/plot/private/__contour__.m, scripts/plot/private/__errplot__.m,
scripts/plot/private/__quiver__.m, scripts/plot/private/__scatter__.m,
scripts/plot/private/__stem__.m, scripts/plot/stairs.m:
Add "HitTestArea" property for Matlab compatibility. Octave doesn't
do anything with the property though.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 01 Oct 2013 14:09:11 -0700 |
parents | 76a6d7de4cbc |
children |
line wrap: on
line diff
--- a/scripts/plot/private/__contour__.m Tue Oct 01 13:50:08 2013 -0700 +++ b/scripts/plot/private/__contour__.m Tue Oct 01 14:09:11 2013 -0700 @@ -165,6 +165,9 @@ addproperty ("linestyle", hg, "linelinestyle", linespec.linestyle); addproperty ("linewidth", hg, "linelinewidth", 0.5); + ## Matlab property, although Octave does not implement it. + addproperty ("hittestarea", hg, "radio", "on|{off}", "off"); + addlistener (hg, "fill", {@update_data, "fill"}); addlistener (hg, "zlevelmode", @update_zlevel);