changeset 26780:3b0af21841d4 stable

__scatter__.m: Add comment to explain order of properties (bug #55751).
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 22 Feb 2019 20:21:36 +0100
parents 2f550a8122d5
children c4d05690b2f9 ebf5e6ffd578 d05d6eebde10
files scripts/plot/draw/private/__scatter__.m
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/draw/private/__scatter__.m	Fri Feb 22 11:12:02 2019 +0100
+++ b/scripts/plot/draw/private/__scatter__.m	Fri Feb 22 20:21:36 2019 +0100
@@ -330,6 +330,8 @@
                     && strcmp (toolkit, "gnuplot"));
     if (ischar (c) || ! isflat || gnuplot_hack)
       if (filled)
+        ## "facecolor" and "edgecolor" must be set before any other properties
+        ## to skip co-planarity check (see bug #55751).
         __go_patch__ (hg, "facecolor", "none", "edgecolor", "none",
                           "xdata", x, "ydata", y, "zdata", z,
                           "faces", 1:numel (x), "vertices", vert,