# HG changeset patch # User Rik # Date 1290299594 28800 # Node ID acebc0e675c1ac951ea65daf45f35db20e327615 # Parent 3f952c6973f7b8acdbce58b5a575163a6cecc392 gnuplot_drawnow.m: Remove spurious line causing 'ans=1' to be returned when printing plots. diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2010-11-20 Rik + + * plot/gnuplot_drawnow.m: Remove spurious line causing 'ans=1' to be + returned when printing plots. + 2010-11-19 Ben Abbott * plot/__gnuplot_has_feature__.m: Since there is not gnuplot 4.3.x diff --git a/scripts/plot/gnuplot_drawnow.m b/scripts/plot/gnuplot_drawnow.m --- 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))