Mercurial > hg > octave-lyh
diff scripts/plot/shading.m @ 13967:9ff0273cd054
shading.m: Add demos for 'flat' option
* shading.m: Add demos for 'flat' option
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 30 Nov 2011 16:13:52 -0800 |
parents | a754c2d8a13f |
children | 22c50cbad2ce |
line wrap: on
line diff
--- a/scripts/plot/shading.m +++ b/scripts/plot/shading.m @@ -73,24 +73,36 @@ endfunction + %!demo %! clf %! colormap (jet) %! sombrero %! shading faceted -%! title("shading ""faceted""") +%! title ('shading "faceted"') + +%!demo +%! sombrero +%! shading flat +%! title ('shading "flat"') %!demo %! sombrero %! shading interp -%! title("shading ""interp""") +%! title ('shading "interp"') %!demo %! pcolor (peaks ()) %! shading faceted -%! title("shading ""faceted""") +%! title ('shading "faceted"') + +%!demo +%! pcolor (peaks ()) +%! shading flat +%! title ('shading "flat"') %!demo %! pcolor (peaks ()) %! shading interp -%! title("shading ""interp""") +%! title ('shading "interp"') +