changeset 21845:f794cefc2372

fix printing with gnuplot and epslatex * __gnuplot_print__.m: define variable term for the normal case (not standalone), too
author Torsten <ttl@justmail.de>
date Thu, 09 Jun 2016 21:20:09 +0200
parents c0a552e71ceb
children 8fb87d3f0581
files scripts/plot/util/private/__gnuplot_print__.m
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/private/__gnuplot_print__.m	Thu Jun 09 01:02:17 2016 -0500
+++ b/scripts/plot/util/private/__gnuplot_print__.m	Thu Jun 09 21:20:09 2016 +0200
@@ -96,6 +96,8 @@
       if (strfind (opts.devopt, "standalone"))
         gp_opts = sprintf ("standalone %s", gp_opts);
         term = strrep (opts.devopt, "standalone", "");
+      else
+        term = sprintf ("%s ", opts.devopt);
       endif
       local_drawnow ([term " " gp_opts],
                      [name "." suffix], opts);