changeset 5253:6b91c98e3db0

[project @ 2005-03-28 18:56:56 by jwe]
author jwe
date Mon, 28 Mar 2005 18:56:56 +0000
parents 3d9afb170a39
children 2fa6253e36a3
files scripts/ChangeLog scripts/plot/__axis_label__.m scripts/plot/axis.m scripts/plot/grid.m scripts/plot/plot_border.m scripts/plot/shg.m scripts/plot/title.m scripts/plot/top_title.m
diffstat 8 files changed, 19 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Mon Mar 28 18:40:35 2005 +0000
+++ b/scripts/ChangeLog	Mon Mar 28 18:56:56 2005 +0000
@@ -11,6 +11,10 @@
 
 2005-03-28  Dmitri A. Sergatskov  <dasergatskov@gmail.com>
 
+	* plot/__axis_label__.m, plot/axis.m, plot/grid.m,
+	plot/plot_border.m, plot/replot.m, plot/title.m, plot/top_title.m:
+	Use __gnuplot_replot__ instead of replot.
+
 	* plot/__axis_label__.m, plot/axis.m, plot/bottom_title.m,
 	plot/contour.m, plot/errorbar.m, plot/figure.m, plot/grid.m,
 	plot/loglogerr.m, plot/loglog.m, plot/mesh.m, plot/mplot.m,
--- a/scripts/plot/__axis_label__.m	Mon Mar 28 18:40:35 2005 +0000
+++ b/scripts/plot/__axis_label__.m	Mon Mar 28 18:56:56 2005 +0000
@@ -33,7 +33,8 @@
       __gnuplot_raw__ (sprintf ("set %s \"%s\";\n", caller,
 				undo_string_escapes (text)));
       if (automatic_replot)
-	replot ();
+	## No semicolon (see replot.m).
+	__gnuplot_replot__
       endif
     else
       error ("%s: text must be a string", caller);
--- a/scripts/plot/axis.m	Mon Mar 28 18:40:35 2005 +0000
+++ b/scripts/plot/axis.m	Mon Mar 28 18:56:56 2005 +0000
@@ -169,7 +169,8 @@
       __gnuplot_raw__ ("set yrange [] writeback;\n");
       __gnuplot_raw__ ("set zrange [] writeback;\n");
       ## XXX FIXME XXX if writeback were set in plot, no need to replot here.
-      replot ();
+      ## No semicolon (see replot.m).
+      __gnuplot_replot__
       __gnuplot_raw__ ("set noautoscale x;\n");
       __gnuplot_raw__ ("set noautoscale y;\n");
       __gnuplot_raw__ ("set noautoscale z;\n");
@@ -264,7 +265,8 @@
   if (nargin > 1)
     axis (varargin{:});
   elseif (automatic_replot)
-    replot ();
+    ## No semicolon (see replot.m).
+    __gnuplot_replot__
   endif
 endfunction
 
--- a/scripts/plot/grid.m	Mon Mar 28 18:40:35 2005 +0000
+++ b/scripts/plot/grid.m	Mon Mar 28 18:56:56 2005 +0000
@@ -59,7 +59,8 @@
   endif
 
   if (do_replot && automatic_replot)
-    replot ();
+    ## No semicolon (see replot.m).
+    __gnuplot_replot__
   endif
 
 endfunction
--- a/scripts/plot/plot_border.m	Mon Mar 28 18:40:35 2005 +0000
+++ b/scripts/plot/plot_border.m	Mon Mar 28 18:56:56 2005 +0000
@@ -111,7 +111,8 @@
   endif
 
   if (automatic_replot)
-    replot ();
+    ## No semicolon (see replot.m).
+    __gnuplot_replot__
   endif
 
 endfunction
--- a/scripts/plot/shg.m	Mon Mar 28 18:40:35 2005 +0000
+++ b/scripts/plot/shg.m	Mon Mar 28 18:56:56 2005 +0000
@@ -36,6 +36,6 @@
     warning ("shg: ignoring extra arguments");
   endif
 
-  replot (); 
+  __gnuplot_replot__ 
 
 endfunction
--- a/scripts/plot/title.m	Mon Mar 28 18:40:35 2005 +0000
+++ b/scripts/plot/title.m	Mon Mar 28 18:56:56 2005 +0000
@@ -37,7 +37,8 @@
     __gnuplot_raw__ (sprintf ("set title \"%s\";\n",
 			      undo_string_escapes (text)));
     if (automatic_replot)
-      replot ();
+      ## No semicolon (see replot.m).
+      __gnuplot_replot__
     endif
   else
     error ("title: text must be a string");
--- a/scripts/plot/top_title.m	Mon Mar 28 18:40:35 2005 +0000
+++ b/scripts/plot/top_title.m	Mon Mar 28 18:56:56 2005 +0000
@@ -39,7 +39,8 @@
     __gnuplot_raw__ (sprintf ("set top_title \"%s\";\n",
 			      undo_string_escapes (text)));
     if (automatic_replot)
-      replot ();
+      ## No semicolon (see replot.m).
+      __gnuplot_replot__
     endif
   else
     error ("error: top_title: text must be a string");