Mercurial > hg > octave-lyh
diff scripts/plot/top_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/top_title.m +++ b/scripts/plot/top_title.m @@ -34,12 +34,12 @@ endif if (isstr (text)) - gset bottom_title; - gset title; - eval (sprintf ("gset top_title \"%s\"", + __gset__ bottom_title; + __gset__ title; + eval (sprintf ("__gset__ top_title \"%s\"", undo_string_escapes (undo_string_escapes (text)))); if (automatic_replot) - replot + replot (); endif else error ("error: top_title: text must be a string");