changeset 16891:6431f38becdf gnuout

Refining gnuout functionality
author Shane Carr <shane.carr@wustl.edu>
date Sat, 11 May 2013 02:51:03 -0500
parents 8660bc2a50da
children c4de8ba70646
files scripts/plot/private/__go_draw_figure__.m
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/private/__go_draw_figure__.m
+++ b/scripts/plot/private/__go_draw_figure__.m
@@ -192,7 +192,8 @@
           fputs (plot_stream, "\nreset; clear;\n");
           fflush (plot_stream);
         else
-          fputs (plot_stream, "\nunset multiplot;\n");
+          fputs (plot_stream, "\nunset multiplot; unset output;\n");
+          # `unset output` is required to flush out the svg file format
         endif
       else
         fputs (plot_stream, "\nreset; clear;\n");