changeset 22127:7a70004cae61

Disable gnuplot graphics toolkit mesh when linestyle is 'none' (bug #48512) * __gnuplot_draw_axes__.m: For "surface" case, check whether 'linestyle' property is not "none" in addition to the 'edgecolor' property being "none".
author Daniel J Sebald <daniel.sebald@ieee.org>
date Sun, 17 Jul 2016 14:19:06 +0200
parents 3f8ed6d7cb1c
children faae09d7ed5b
files scripts/plot/util/private/__gnuplot_draw_axes__.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/private/__gnuplot_draw_axes__.m	Sat Jul 16 17:49:30 2016 +0200
+++ b/scripts/plot/util/private/__gnuplot_draw_axes__.m	Sun Jul 17 14:19:06 2016 +0200
@@ -1242,7 +1242,7 @@
                    interp_str, dord);
         endif
 
-        if (! strcmp (obj.edgecolor, "none"))
+        if (! strcmp (obj.linestyle, "none") && ! strcmp (obj.edgecolor, "none"))
           flat_interp_edge = (strcmp (obj.edgecolor, "flat")
                               || strcmp (obj.edgecolor, "interp"));
           if (flat_interp_edge)