changeset 5026:06f7ff1aee5a

[project @ 2004-09-23 01:04:32 by jwe]
author jwe
date Thu, 23 Sep 2004 01:04:32 +0000
parents 6d41c8ee35cf
children da607e9daf12
files PROJECTS src/ChangeLog src/pt-plot.cc
diffstat 3 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/PROJECTS	Wed Sep 22 15:53:38 2004 +0000
+++ b/PROJECTS	Thu Sep 23 01:04:32 2004 +0000
@@ -412,6 +412,12 @@
     Octave line number, appended as a comment (users should probably
     be able to control the format).
 
+  * Avoid writing the history file if the history list has not
+    changed.
+
+  * Avoid permission errors if the history file cannot be opened for
+    writing.
+
   * Fix history problems -- core dump if multiple processes are
     writing to the same history file?
 
--- a/src/ChangeLog	Wed Sep 22 15:53:38 2004 +0000
+++ b/src/ChangeLog	Thu Sep 23 01:04:32 2004 +0000
@@ -1,3 +1,8 @@
+2004-09-22  John W. Eaton  <jwe@octave.org>
+
+	* pt-plot.cc (send_to_plot_stream): Skip automatic replot if in
+	multiplot mode.
+
 2004-09-22  David Bateman  <dbateman@free.fr>
 
 	* ov-fcn-inline.cc (Finline): When called with a single arg, derive
--- a/src/pt-plot.cc	Wed Sep 22 15:53:38 2004 +0000
+++ b/src/pt-plot.cc	Thu Sep 23 01:04:32 2004 +0000
@@ -217,7 +217,11 @@
     {
       *plot_stream << cmd;
 
-      if (! (is_replot || is_splot || is_plot)
+      octave_value mm = get_global_value ("__multiplot_mode__");
+
+      bool is_multiplot_mode = mm.is_true ();
+
+      if (! (is_replot || is_splot || is_plot || is_multiplot_mode)
 	  && plot_line_count > 0
 	  && Vautomatic_replot)
 	*plot_stream << Vgnuplot_command_replot << Vgnuplot_command_end;