@@ -93,13 +93,11 @@ function meshdemo(varargin)
93
93
' vertices' ,mesh .point .coord(: ,1 : 3 ), ...
94
94
' facevertexcdata' ,zlev(zlev <= 0 .,: ), ...
95
95
' facecolor' ,' flat' ,' edgecolor' ,[.2 ,.2 ,.2 ], ...
96
- ' facelighting' ,' flat' ,' edgelighting' ,' none' , ...
97
96
' linewidth' ,.75 );
98
97
axis image off ; hold on ;
99
98
patch(' faces' ,mesh .tria3 .index(zlev > 0 ,1 : 3 ), ...
100
99
' vertices' ,mesh .point .coord(: ,1 : 3 ), ...
101
100
' facecolor' ,' w' ,' edgecolor' ,' none' , ...
102
- ' facelighting' ,' flat' ,' edgelighting' ,' none' , ...
103
101
' linewidth' ,.75 );
104
102
set(gcf ,' color' ,' w' ,' units' ,' normalized' , ...
105
103
' position' ,[.1 ,.1 ,.8 ,.8 ]);
@@ -172,13 +170,11 @@ function meshdemo(varargin)
172
170
' vertices' ,mesh .point .coord(: ,1 : 3 ), ...
173
171
' facevertexcdata' ,zlev(zlev <= 0 .,: ), ...
174
172
' facecolor' ,' flat' ,' edgecolor' ,[.2 ,.2 ,.2 ], ...
175
- ' facelighting' ,' flat' ,' edgelighting' ,' none' , ...
176
173
' linewidth' ,.75 );
177
174
axis image off ; hold on ;
178
175
patch(' faces' ,mesh .tria3 .index(zlev > 0 ,1 : 3 ), ...
179
176
' vertices' ,mesh .point .coord(: ,1 : 3 ), ...
180
177
' facecolor' ,' w' ,' edgecolor' ,' none' , ...
181
- ' facelighting' ,' flat' ,' edgelighting' ,' none' , ...
182
178
' linewidth' ,.75 );
183
179
set(gcf ,' color' ,' w' ,' units' ,' normalized' , ...
184
180
' position' ,[.1 ,.1 ,.8 ,.8 ]);
0 commit comments