Mercurial > hg > octave-nkf
comparison scripts/plot/ribbon.m @ 8610:85c9906abfd1
use endif and endfor instead of end
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 27 Jan 2009 23:17:37 -0500 |
parents | eb7bdde776f2 |
children | e07e93c04080 |
comparison
equal
deleted
inserted
replaced
8609:fcf762ba66cf | 8610:85c9906abfd1 |
---|---|
44 width = 0.75; | 44 width = 0.75; |
45 elseif (nargin == 2) | 45 elseif (nargin == 2) |
46 width = 0.75; | 46 width = 0.75; |
47 elseif (nargin != 3) | 47 elseif (nargin != 3) |
48 print_usage (); | 48 print_usage (); |
49 end | 49 endif |
50 | 50 |
51 if (isvector (x) && isvector (y)) | 51 if (isvector (x) && isvector (y)) |
52 if (length (x) != length (y)) | 52 if (length (x) != length (y)) |
53 error ("ribbon: in case of vectors, X and Y must have same length") | 53 error ("ribbon: in case of vectors, X and Y must have same length") |
54 else | 54 else |