n class="string">on</span>; axis <span class="string">equal</span>; l = light;
axis ([0 100 0 100 0 100]);
view([40 20]);
snapnow;

<span class="comment">% add surfacic mesh</span>
drawSphere(sphere);

<span class="comment">% decorate</span>
title(<span class="string">'Sphere, radius=40'</span>);
legend(<span class="string">'isosurface'</span>, <span class="string">'shape mesh'</span>, <span class="string">'location'</span>, <span class="string">'northeast'</span>);
</pre><img vspace="5" hspace="5" src="dem