changeset 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 62a18e06cfc5
children 241f68fb48c3
files scripts/plot/shading.m
diffstat 1 files changed, 16 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/shading.m	Wed Nov 30 13:53:38 2011 -0800
+++ b/scripts/plot/shading.m	Wed Nov 30 16:13:52 2011 -0800
@@ -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"')
+