Mercurial > octave-nkf
diff scripts/plot/top_title.m @ 5152:b111ca4715c6
[project @ 2005-02-21 19:41:23 by jwe]
author | jwe |
---|---|
date | Mon, 21 Feb 2005 19:41:23 +0000 |
parents | 92be67bc9301 |
children | eecc24b92d97 |
line wrap: on
line diff
--- a/scripts/plot/top_title.m Mon Feb 21 16:50:00 2005 +0000 +++ b/scripts/plot/top_title.m Mon Feb 21 19:41:23 2005 +0000 @@ -38,6 +38,9 @@ gset title; eval (sprintf ("gset top_title \"%s\"", undo_string_escapes (undo_string_escapes (text)))); + if (automatic_replot) + replot + endif else error ("error: top_title: text must be a string"); endif