changeset 22478:a7d6c66e91e4

Rid dashed termoption warning for tikz terminal of gnuplot_toolkit (bug #49003). * __gnuplot_drawnow__.m: Only send termoption dashed to gnuplot pipe if gnuplot "has_termoption_dashed" and does not have the more recent and preferred "dashtype".
author Daniel J Sebald <daniel.sebald@ieee.org>
date Tue, 13 Sep 2016 01:59:42 -0500
parents 6bf1cbb90705
children eb0146564805
files scripts/plot/util/__gnuplot_drawnow__.m
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/__gnuplot_drawnow__.m	Sun Aug 28 22:58:42 2016 +0200
+++ b/scripts/plot/util/__gnuplot_drawnow__.m	Tue Sep 13 01:59:42 2016 -0500
@@ -339,7 +339,8 @@
         endif
       endif
     endif
-    if (__gnuplot_has_feature__ ("has_termoption_dashed"))
+    if (__gnuplot_has_feature__ ("has_termoption_dashed")
+        && ! __gnuplot_has_feature__ ("dashtype"))
       fprintf (plot_stream, "set termoption dashed\n");
     endif
   else