diff scripts/plot/bottom_title.m @ 5252:3d9afb170a39

[project @ 2005-03-28 18:40:35 by jwe]
author jwe
date Mon, 28 Mar 2005 18:40:35 +0000
parents 32c569794216
children 4c8a2e4e0717
line wrap: on
line diff
--- a/scripts/plot/bottom_title.m
+++ b/scripts/plot/bottom_title.m
@@ -32,10 +32,10 @@
   endif
 
   if (isstr (text))
-    __gnuplot_set__ top_title;
-    __gnuplot_set__ title;
-    eval (sprintf ("__gnuplot_set__ bottom_title \"%s\"",
-		   undo_string_escapes (undo_string_escapes (text))));
+    __gnuplot_raw__ ("set top_title;\n");
+    __gnuplot_raw__ ("set title;\n");
+    __gnuplot_raw__ (sprintf ("set bottom_title \"%s\";\n",
+			      undo_string_escapes (text)));
   else
     error ("bottom_title: text must be a string");
   endif