w mesh</span>
figure(2); clf;
patch(<span class="string">'vertices'</span>, n, <span class="string">'faces'</span>, tri, <span class="string">'facecolor'</span>, <span class="string">'r'</span>);

<span class="comment">% graphical settings</span>
view(3);
axis <span class="string">equal</span>;
</pre><img vspace="5" hspace="5" src="demoTriangulateFaces_02.png" alt=""> <p class="footer"><br>
      Published with MATLAB&reg; 7.9<br></p></div><!--
##### SOURCE BEGIN #####
function demoTriangulateFaces(varargin