changeset 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 3f952c6973f7
children 58f175d39a7a
files scripts/ChangeLog scripts/plot/gnuplot_drawnow.m
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Sat Nov 20 09:39:46 2010 -0500
+++ b/scripts/ChangeLog	Sat Nov 20 16:33:14 2010 -0800
@@ -1,3 +1,8 @@
+2010-11-20  Rik  <octave@nomad.inbox5.com>
+
+	* plot/gnuplot_drawnow.m: Remove spurious line causing 'ans=1' to be
+	returned when printing plots.  
+
 2010-11-19  Ben Abbott <bpabbott@mac.com>
 
 	* plot/__gnuplot_has_feature__.m: Since there is not gnuplot 4.3.x
--- a/scripts/plot/gnuplot_drawnow.m	Sat Nov 20 09:39:46 2010 -0500
+++ b/scripts/plot/gnuplot_drawnow.m	Sat Nov 20 16:33:14 2010 -0800
@@ -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))