diff scripts/plot/title.m @ 5214:eecc24b92d97

[project @ 2005-03-16 17:14:12 by jwe]
author jwe
date Wed, 16 Mar 2005 17:14:12 +0000
parents b111ca4715c6
children 32c569794216
line wrap: on
line diff
--- a/scripts/plot/title.m
+++ b/scripts/plot/title.m
@@ -23,7 +23,7 @@
 ## @end deftypefn
 ##
 ## @seealso{plot, semilogx, semilogy, loglog, polar, mesh, contour,
-## bar, stairs, gplot, gsplot, replot, xlabel, and ylabel}
+## bar, stairs, replot, xlabel, and ylabel}
 
 ## Author: jwe
 
@@ -34,10 +34,10 @@
   endif
 
   if (isstr (text))
-    eval (sprintf ("gset title \"%s\"",
+    eval (sprintf ("__gset__ title \"%s\"",
 		   undo_string_escapes (undo_string_escapes (text))));
     if (automatic_replot)
-      replot
+      replot ();
     endif
   else
     error ("title: text must be a string");