diff scripts/plot/gnuplot_drawnow.m @ 11282:acebc0e675c1

gnuplot_drawnow.m: Remove spurious line causing 'ans=1' to be returned when printing plots.
author Rik <octave@nomad.inbox5.com>
date Sat, 20 Nov 2010 16:33:14 -0800
parents c463aed850b0
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/plot/gnuplot_drawnow.m
+++ b/scripts/plot/gnuplot_drawnow.m
@@ -304,7 +304,6 @@
     if (! any (strcmp (term, flickering_terms))
         || have_non_legend_axes (h)
         || numel (findall (h, "type", "image")) > 0)
-1
       fprintf (plot_stream, "%s\n", term_str);
       if (nargin == 5)
         if (! isempty (file))