Functions | |
function | gtext (s, varargin) if(nargin > 0) if(iscellstr(s)) if(isempty(s)) s |
endif endif | if (ischar(s)) if(!isempty(s))[x |
text (x, y, s, varargin{:}) | |
endif else | error ("gtext: expecting a string or cell array of strings") |
endif else | print_usage () |
Variables | |
else | s = sprintf ("%s\n", s{:}) |
endif endif | y = ginput (1) |
function gtext | ( | s | , | |
varargin | ||||
) |
text | ( | x | , | |
y | , | |||
s | ||||
) |
else s = sprintf ("%s\n", s{:}) |