www.pudn.com > AFEM@matlab.rar > plotnode.m, change:2006-10-20,size:283b


function plotnode(node)
% PLOTNODE shows the index of each node on the mesh plot
%
% USAGE
%    plotnode(node)
%
% INPUT 
%     node: coordinate array of all nodes
%

% L. Chen & C. Zhang 10-11-2006

hold on
for i=1:size(node,1)
  text(node(i,1)+0.01,node(i,2)+0.01, int2str(i));
end