Mercurial > hg > octave-thorsten
comparison 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 |
comparison
equal
deleted
inserted
replaced
5251:454e3c98300d | 5252:3d9afb170a39 |
---|---|
30 if (nargin != 1) | 30 if (nargin != 1) |
31 usage ("bottom_title (text)"); | 31 usage ("bottom_title (text)"); |
32 endif | 32 endif |
33 | 33 |
34 if (isstr (text)) | 34 if (isstr (text)) |
35 __gnuplot_set__ top_title; | 35 __gnuplot_raw__ ("set top_title;\n"); |
36 __gnuplot_set__ title; | 36 __gnuplot_raw__ ("set title;\n"); |
37 eval (sprintf ("__gnuplot_set__ bottom_title \"%s\"", | 37 __gnuplot_raw__ (sprintf ("set bottom_title \"%s\";\n", |
38 undo_string_escapes (undo_string_escapes (text)))); | 38 undo_string_escapes (text))); |
39 else | 39 else |
40 error ("bottom_title: text must be a string"); | 40 error ("bottom_title: text must be a string"); |
41 endif | 41 endif |
42 | 42 |
43 endfunction | 43 endfunction |