Mercurial > hg > octave-nkf
comparison scripts/plot/shading.m @ 14247:c4fa5e0b6193
test: Make surface demos reproducible by setting colormap to default at start of demo.
* bicubic.m, interp2.m, interpn.m, griddata.m, image.m, axis.m, clabel.m,
colorbar.m, contour.m, contourf.m, cylinder.m, ezcontour.m, ezcontourf.m,
ezmesh.m, ezmeshc.m, ezsurf.m, ezsurfc.m, hold.m, pcolor.m, plotyy.m,
quiver3.m, ribbon.m, shading.m, slice.m, sombrero.m, surf.m, surfc.m,
surfnorm.m, trisurf.m: Set colormap to default at start of demos to
make them reproducible.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 22 Jan 2012 10:02:27 -0800 |
parents | 4506eade9f04 |
children | 5d3a684236b0 |
comparison
equal
deleted
inserted
replaced
14246:8b220af26cfb | 14247:c4fa5e0b6193 |
---|---|
74 endfunction | 74 endfunction |
75 | 75 |
76 | 76 |
77 %!demo | 77 %!demo |
78 %! clf; | 78 %! clf; |
79 %! colormap (jet (64)); | 79 %! colormap ('default'); |
80 %! sombrero (); | 80 %! sombrero (); |
81 %! shading faceted; | 81 %! shading faceted; |
82 %! title ('shading ''faceted'''); | 82 %! title ('shading ''faceted'''); |
83 | 83 |
84 %!demo | 84 %!demo |
85 %! clf; | 85 %! clf; |
86 %! colormap ('default'); | |
86 %! sombrero (); | 87 %! sombrero (); |
87 %! shading flat; | 88 %! shading flat; |
88 %! title ('shading ''flat'''); | 89 %! title ('shading ''flat'''); |
89 | 90 |
90 %!demo | 91 %!demo |
91 %! clf; | 92 %! clf; |
93 %! colormap ('default'); | |
92 %! sombrero (); | 94 %! sombrero (); |
93 %! shading interp; | 95 %! shading interp; |
94 %! title ('shading ''interp'''); | 96 %! title ('shading ''interp'''); |
95 | 97 |
96 %!demo | 98 %!demo |
97 %! clf; | 99 %! clf; |
100 %! colormap ('default'); | |
98 %! pcolor (peaks ()); | 101 %! pcolor (peaks ()); |
99 %! shading faceted; | 102 %! shading faceted; |
100 %! title ('shading ''faceted'''); | 103 %! title ('shading ''faceted'''); |
101 | 104 |
102 %!demo | 105 %!demo |
103 %! clf; | 106 %! clf; |
107 %! colormap ('default'); | |
104 %! pcolor (peaks ()); | 108 %! pcolor (peaks ()); |
105 %! shading flat; | 109 %! shading flat; |
106 %! title ('shading ''flat'''); | 110 %! title ('shading ''flat'''); |
107 | 111 |
108 %!demo | 112 %!demo |
109 %! clf; | 113 %! clf; |
114 %! colormap ('default'); | |
110 %! pcolor (peaks ()); | 115 %! pcolor (peaks ()); |
111 %! shading interp; | 116 %! shading interp; |
112 %! title ('shading ''interp'''); | 117 %! title ('shading ''interp'''); |
113 | 118 |