Mercurial > hg > octave-lyh
comparison scripts/plot/title.m @ 5493:b2e882e8b68b
[project @ 2005-10-13 17:51:19 by jwe]
author | jwe |
---|---|
date | Thu, 13 Oct 2005 17:51:19 +0000 |
parents | ec8c33dcd1bf |
children | 2618a0750ae6 |
comparison
equal
deleted
inserted
replaced
5492:179096e8e57f | 5493:b2e882e8b68b |
---|---|
35 | 35 |
36 if (ischar (text)) | 36 if (ischar (text)) |
37 __gnuplot_raw__ (sprintf ("set title \"%s\";\n", | 37 __gnuplot_raw__ (sprintf ("set title \"%s\";\n", |
38 undo_string_escapes (text))); | 38 undo_string_escapes (text))); |
39 if (automatic_replot) | 39 if (automatic_replot) |
40 ## No semicolon (see replot.m). | 40 replot (); |
41 __gnuplot_replot__ | |
42 endif | 41 endif |
43 else | 42 else |
44 error ("title: text must be a string"); | 43 error ("title: text must be a string"); |
45 endif | 44 endif |
46 | 45 |