comparison 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
comparison
equal deleted inserted replaced
5151:b142b5a0d6be 5152:b111ca4715c6
36 if (isstr (text)) 36 if (isstr (text))
37 gset bottom_title; 37 gset bottom_title;
38 gset title; 38 gset title;
39 eval (sprintf ("gset top_title \"%s\"", 39 eval (sprintf ("gset top_title \"%s\"",
40 undo_string_escapes (undo_string_escapes (text)))); 40 undo_string_escapes (undo_string_escapes (text))));
41 if (automatic_replot)
42 replot
43 endif
41 else 44 else
42 error ("error: top_title: text must be a string"); 45 error ("error: top_title: text must be a string");
43 endif 46 endif
44 47
45 endfunction 48 endfunction