Mercurial > octave-nkf
comparison scripts/plot/contourc.m @ 11472:1740012184f9
Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 21:33:04 -0800 |
parents | a4f482e66b65 |
children | 8f23b6757225 |
comparison
equal
deleted
inserted
replaced
11471:994e2a93a8e2 | 11472:1740012184f9 |
---|---|
84 else | 84 else |
85 print_usage (); | 85 print_usage (); |
86 endif | 86 endif |
87 | 87 |
88 if (!ismatrix (z) || isvector (z) || isscalar (z)) | 88 if (!ismatrix (z) || isvector (z) || isscalar (z)) |
89 error ("contourc: z argument must be a matrix"); | 89 error ("contourc: Z argument must be a matrix"); |
90 endif | 90 endif |
91 | 91 |
92 if (isscalar (vn)) | 92 if (isscalar (vn)) |
93 vv = linspace (min (z(:)), max (z(:)), vn+2)(2:end-1); | 93 vv = linspace (min (z(:)), max (z(:)), vn+2)(2:end-1); |
94 else | 94 else |