Mercurial > octave-nkf
comparison scripts/plot/__axis_label__.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 | ace8d8d26933 |
comparison
equal
deleted
inserted
replaced
5492:179096e8e57f | 5493:b2e882e8b68b |
---|---|
31 elseif (nargin == 2) | 31 elseif (nargin == 2) |
32 if (ischar (text)) | 32 if (ischar (text)) |
33 __gnuplot_raw__ (sprintf ("set %s \"%s\";\n", caller, | 33 __gnuplot_raw__ (sprintf ("set %s \"%s\";\n", caller, |
34 undo_string_escapes (text))); | 34 undo_string_escapes (text))); |
35 if (automatic_replot) | 35 if (automatic_replot) |
36 ## No semicolon (see replot.m). | 36 replot (); |
37 __gnuplot_replot__ | |
38 endif | 37 endif |
39 else | 38 else |
40 error ("%s: text must be a string", caller); | 39 error ("%s: text must be a string", caller); |
41 endif | 40 endif |
42 else | 41 else |