comparison scripts/plot/__axis_label__.m @ 5443:ec8c33dcd1bf

[project @ 2005-09-08 01:40:57 by jwe]
author jwe
date Thu, 08 Sep 2005 01:40:58 +0000
parents 4c8a2e4e0717
children b2e882e8b68b
comparison
equal deleted inserted replaced
5442:636886245488 5443:ec8c33dcd1bf
27 function h = __axis_label__ (caller, text) 27 function h = __axis_label__ (caller, text)
28 28
29 if (nargin == 0) 29 if (nargin == 0)
30 usage ("__axis_label__ (caller, text)"); 30 usage ("__axis_label__ (caller, text)");
31 elseif (nargin == 2) 31 elseif (nargin == 2)
32 if (isstr (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 ## No semicolon (see replot.m).
37 __gnuplot_replot__ 37 __gnuplot_replot__