Mercurial > octave-nkf
comparison scripts/plot/__plt2mv__.m @ 6046:34f96dd5441b
[project @ 2006-10-10 16:10:25 by jwe]
author | jwe |
---|---|
date | Tue, 10 Oct 2006 16:10:31 +0000 |
parents | 4c8a2e4e0717 |
children | 1a6d826e92b5 |
comparison
equal
deleted
inserted
replaced
6045:421d8a903df7 | 6046:34f96dd5441b |
---|---|
24 ## Author: jwe | 24 ## Author: jwe |
25 | 25 |
26 function [data, fmtstr] = __plt2mv__ (x, y, fmt) | 26 function [data, fmtstr] = __plt2mv__ (x, y, fmt) |
27 | 27 |
28 if (nargin < 2 || nargin > 3 || nargout != 2) | 28 if (nargin < 2 || nargin > 3 || nargout != 2) |
29 usage ("[data, fmtstr] = __plt2mv__ (x, y, fmt)"); | 29 print_usage (); |
30 elseif (nargin == 2 || isempty (fmt)) | 30 elseif (nargin == 2 || isempty (fmt)) |
31 fmt = " "; ## Yes, this is intentionally not an empty string! | 31 fmt = " "; ## Yes, this is intentionally not an empty string! |
32 endif | 32 endif |
33 | 33 |
34 [x_nr, x_nc] = size (x); | 34 [x_nr, x_nc] = size (x); |