Mercurial > hg > octave-lyh
diff scripts/plot/shading.m @ 8166:4024fc815f8d
__go_draw_axes__.m: Fix interpolation of facecolors.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Tue, 30 Sep 2008 16:09:09 -0400 |
parents | f8514786c490 |
children | 73d6b71788c0 |
line wrap: on
line diff
--- a/scripts/plot/shading.m +++ b/scripts/plot/shading.m @@ -74,3 +74,21 @@ endfor endfunction + +%!demo +%! figure(1); clf +%! sombrero +%! shading faceted +%! title('shading "faceted"') +%! figure(2); clf +%! sombrero +%! shading interp +%! title('shading "interp"') +%! figure (3); clf +%! pcolor (peaks ()) +%! shading faceted +%! title('shading "faceted"') +%! figure (4); clf +%! pcolor (peaks ()) +%! shading interp +%! title('shading "interp"')