# HG changeset patch # User Rik # Date 1322698432 28800 # Node ID 9ff0273cd0549dc5167b93cc341bc365f7541f8a # Parent 62a18e06cfc54335ea452964f23a3b2b68f331e0 shading.m: Add demos for 'flat' option * shading.m: Add demos for 'flat' option diff --git a/scripts/plot/shading.m b/scripts/plot/shading.m --- 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"') +