Index: ../trunk-jpl/src/m/plot/plot_vertexnumbering.m =================================================================== --- ../trunk-jpl/src/m/plot/plot_vertexnumbering.m (revision 26969) +++ ../trunk-jpl/src/m/plot/plot_vertexnumbering.m (revision 26970) @@ -19,8 +19,15 @@ patch( 'Faces', [A B C], 'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black'); %numbering - text(x,y,z,num2str(vertexnumbers),... - 'backgroundcolor',[0.8 0.9 0.8],'HorizontalAlignment','center','VerticalAlignment','middle'); + X = x; + Y = y; + NUM = vertexnumbers; + if exist(options,'axis') + AXIS = getfieldvalue(options,'axis'); + pos = find(X>AXIS(1) & XAXIS(3) & YAXIS(1) & XAXIS(3) & Y