Mercurial > hg > octave-lyh
diff scripts/plot/surfl.m @ 14223:ba7a26030214
Use Octave spacing convention in %!test blocks of surface plot functions.
* surface.m, surfc.m, surfl.m, surfnorm.m: Use Octave spacing convention in
%!test blocks.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 18 Jan 2012 21:17:14 -0800 |
parents | 72c96de7a403 |
children | f0d903879eaa |
line wrap: on
line diff
--- a/scripts/plot/surfl.m +++ b/scripts/plot/surfl.m @@ -171,18 +171,19 @@ endfunction + %!demo %! clf -%! [X,Y,Z]=sombrero; -%! colormap(copper); -%! surfl(X,Y,Z); +%! [X,Y,Z] = sombrero; +%! colormap (copper); +%! surfl (X,Y,Z); %! shading interp; %!demo %! clf -%! [X,Y,Z]=sombrero; -%! colormap(copper); +%! [X,Y,Z] = sombrero; +%! colormap (copper); %! [az, el] = view; -%! surfl(X,Y,Z,[az+225,el],[0.2 0.6 0.4 25]); +%! surfl (X,Y,Z, [az+225,el], [0.2 0.6 0.4 25]); %! shading interp;