comparison 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
comparison
equal deleted inserted replaced
13966:62a18e06cfc5 13967:9ff0273cd054
71 endif 71 endif
72 endfor 72 endfor
73 73
74 endfunction 74 endfunction
75 75
76
76 %!demo 77 %!demo
77 %! clf 78 %! clf
78 %! colormap (jet) 79 %! colormap (jet)
79 %! sombrero 80 %! sombrero
80 %! shading faceted 81 %! shading faceted
81 %! title("shading ""faceted""") 82 %! title ('shading "faceted"')
83
84 %!demo
85 %! sombrero
86 %! shading flat
87 %! title ('shading "flat"')
82 88
83 %!demo 89 %!demo
84 %! sombrero 90 %! sombrero
85 %! shading interp 91 %! shading interp
86 %! title("shading ""interp""") 92 %! title ('shading "interp"')
87 93
88 %!demo 94 %!demo
89 %! pcolor (peaks ()) 95 %! pcolor (peaks ())
90 %! shading faceted 96 %! shading faceted
91 %! title("shading ""faceted""") 97 %! title ('shading "faceted"')
98
99 %!demo
100 %! pcolor (peaks ())
101 %! shading flat
102 %! title ('shading "flat"')
92 103
93 %!demo 104 %!demo
94 %! pcolor (peaks ()) 105 %! pcolor (peaks ())
95 %! shading interp 106 %! shading interp
96 %! title("shading ""interp""") 107 %! title ('shading "interp"')
108