Mercurial > octave-nkf
comparison scripts/plot/top_title.m @ 5215:32c569794216
[project @ 2005-03-16 18:54:42 by jwe]
author | jwe |
---|---|
date | Wed, 16 Mar 2005 18:54:52 +0000 |
parents | eecc24b92d97 |
children | 3d9afb170a39 |
comparison
equal
deleted
inserted
replaced
5214:eecc24b92d97 | 5215:32c569794216 |
---|---|
32 if (nargin != 1) | 32 if (nargin != 1) |
33 usage ("top_title (text)"); | 33 usage ("top_title (text)"); |
34 endif | 34 endif |
35 | 35 |
36 if (isstr (text)) | 36 if (isstr (text)) |
37 __gset__ bottom_title; | 37 __gnuplot_set__ bottom_title; |
38 __gset__ title; | 38 __gnuplot_set__ title; |
39 eval (sprintf ("__gset__ top_title \"%s\"", | 39 eval (sprintf ("__gnuplot_set__ top_title \"%s\"", |
40 undo_string_escapes (undo_string_escapes (text)))); | 40 undo_string_escapes (undo_string_escapes (text)))); |
41 if (automatic_replot) | 41 if (automatic_replot) |
42 replot (); | 42 replot (); |
43 endif | 43 endif |
44 else | 44 else |