Index: sm/trunk/src/m/model/plot/plot_gridnumbering.m
===================================================================
--- /issm/trunk/src/m/model/plot/plot_gridnumbering.m	(revision 8298)
+++ 	(revision )
@@ -1,51 +1,0 @@
-function plot_nodenumbering(md,options,width,i);
-%PLOT_GRIDNUMBERING - plot node numbering
-%
-%   Usage:
-%      plot_nodenumbering(md,options,width,i);
-%
-%   See also: PLOTMODEL
-
-%process data and model
-[x y z elements is2d]=processmesh(md,[],options);
-[nodenumbers datatype]=processdata(md,[1:md.numberofnodes]',options);
-
-%plot
-subplot(width,width,i); 
-
-if is2d
-	%plot mesh 
-	A=elements(:,1); B=elements(:,2); C=elements(:,3);
-	patch( 'Faces', [A B C], 'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-
-	%numbering
-	text(x,y,z,num2str(transpose(1:size(x,1))),...
-		'backgroundcolor',[0.8 0.9 0.8],'HorizontalAlignment','center','VerticalAlignment','middle');
-
-	%Highlight
-	pos=getfieldvalue(options,'highlight',[]);
-	text(x(pos),y(pos),z(pos),num2str(transpose(pos)),...
-		'backgroundcolor',[1 0 0],'HorizontalAlignment','center','VerticalAlignment','middle');
-else
-	%plot mesh 
-	A=elements(:,1); B=elements(:,2); C=elements(:,3); D=elements(:,4); E=elements(:,5); F=elements(:,6);
-	patch( 'Faces', [A B C],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-	patch( 'Faces', [D E F],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-	patch( 'Faces', [A B E D],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-	patch( 'Faces', [B E F C],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-	patch( 'Faces', [C A D F],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-
-	%numbering
-	text(x,y,z,num2str(transpose(1:size(x,1))),...
-		'backgroundcolor',[0.8 0.9 0.8],'HorizontalAlignment','center','VerticalAlignment','middle');
-
-	%Highlight
-	pos=getfieldvalue(options,'highlight',[]);
-	text(x(pos),y(pos),z(pos),num2str(transpose(pos)),...
-		'backgroundcolor',[1 0 0],'HorizontalAlignment','center','VerticalAlignment','middle');
-end
-
-%apply options
-options=addfielddefault(options,'title','Node numbering');
-options=addfielddefault(options,'colorbar',0);
-applyoptions(md,[],options);
Index: sm/trunk/src/m/model/plot/plot_highlightgrids.m
===================================================================
--- /issm/trunk/src/m/model/plot/plot_highlightgrids.m	(revision 8298)
+++ 	(revision )
@@ -1,46 +1,0 @@
-function plot_highlightnodes(md,options,width,i);
-%PLOT_HIGHLIGHTGRIDS - plot selected nodes
-%
-%   Usage:
-%      plot_highlightnodes(md,options,width,i);
-%
-%   See also: PLOTMODEL
-
-%process data and model
-[x y z elements is2d]=processmesh(md,[],options);
-[nodenumbers datatype]=processdata(md,[1:md.numberofnodes]',options);
-
-%plot
-subplot(width,width,i); 
-
-if is2d
-	%plot mesh 
-	A=elements(:,1); B=elements(:,2); C=elements(:,3);
-	patch( 'Faces', [A B C], 'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-
-	%Highlight
-	pos=getfieldvalue(options,'highlight',[]);
-	text(x(pos),y(pos),z(pos),num2str(transpose(pos)),...
-		'backgroundcolor',[1 0 0],'HorizontalAlignment','center','VerticalAlignment','middle');
-else
-	%plot mesh 
-	A=elements(:,1); B=elements(:,2); C=elements(:,3); D=elements(:,4); E=elements(:,5); F=elements(:,6);
-	patch( 'Faces', [A B C],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-	patch( 'Faces', [D E F],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-	patch( 'Faces', [A B E D],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-	patch( 'Faces', [B E F C],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-	patch( 'Faces', [C A D F],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
-
-	%Highlight
-	pos=getfieldvalue(options,'highlight',[]);
-	text(x(pos),y(pos),z(pos),num2str(transpose(pos)),...
-		'backgroundcolor',[1 0 0],'HorizontalAlignment','center','VerticalAlignment','middle');
-end
-
-%apply options
-if ~exist(options,'highlight')
-	disp('highlightnodes warning : highlight option empty, not node highlighted');
-end
-options=addfielddefault(options,'title','Highlighted Nodes');
-options=addfielddefault(options,'colorbar',0);
-applyoptions(md,[],options);
Index: /issm/trunk/src/m/model/plot/plot_highlightnodes.m
===================================================================
--- /issm/trunk/src/m/model/plot/plot_highlightnodes.m	(revision 8299)
+++ /issm/trunk/src/m/model/plot/plot_highlightnodes.m	(revision 8299)
@@ -0,0 +1,46 @@
+function plot_highlightnodes(md,options,width,i);
+%PLOT_HIGHLIGHTGRIDS - plot selected nodes
+%
+%   Usage:
+%      plot_highlightnodes(md,options,width,i);
+%
+%   See also: PLOTMODEL
+
+%process data and model
+[x y z elements is2d]=processmesh(md,[],options);
+[nodenumbers datatype]=processdata(md,[1:md.numberofnodes]',options);
+
+%plot
+subplot(width,width,i); 
+
+if is2d
+	%plot mesh 
+	A=elements(:,1); B=elements(:,2); C=elements(:,3);
+	patch( 'Faces', [A B C], 'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+
+	%Highlight
+	pos=getfieldvalue(options,'highlight',[]);
+	text(x(pos),y(pos),z(pos),num2str(transpose(pos)),...
+		'backgroundcolor',[1 0 0],'HorizontalAlignment','center','VerticalAlignment','middle');
+else
+	%plot mesh 
+	A=elements(:,1); B=elements(:,2); C=elements(:,3); D=elements(:,4); E=elements(:,5); F=elements(:,6);
+	patch( 'Faces', [A B C],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+	patch( 'Faces', [D E F],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+	patch( 'Faces', [A B E D],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+	patch( 'Faces', [B E F C],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+	patch( 'Faces', [C A D F],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+
+	%Highlight
+	pos=getfieldvalue(options,'highlight',[]);
+	text(x(pos),y(pos),z(pos),num2str(transpose(pos)),...
+		'backgroundcolor',[1 0 0],'HorizontalAlignment','center','VerticalAlignment','middle');
+end
+
+%apply options
+if ~exist(options,'highlight')
+	disp('highlightnodes warning : highlight option empty, not node highlighted');
+end
+options=addfielddefault(options,'title','Highlighted Nodes');
+options=addfielddefault(options,'colorbar',0);
+applyoptions(md,[],options);
Index: /issm/trunk/src/m/model/plot/plot_nodenumbering.m
===================================================================
--- /issm/trunk/src/m/model/plot/plot_nodenumbering.m	(revision 8299)
+++ /issm/trunk/src/m/model/plot/plot_nodenumbering.m	(revision 8299)
@@ -0,0 +1,51 @@
+function plot_nodenumbering(md,options,width,i);
+%PLOT_GRIDNUMBERING - plot node numbering
+%
+%   Usage:
+%      plot_nodenumbering(md,options,width,i);
+%
+%   See also: PLOTMODEL
+
+%process data and model
+[x y z elements is2d]=processmesh(md,[],options);
+[nodenumbers datatype]=processdata(md,[1:md.numberofnodes]',options);
+
+%plot
+subplot(width,width,i); 
+
+if is2d
+	%plot mesh 
+	A=elements(:,1); B=elements(:,2); C=elements(:,3);
+	patch( 'Faces', [A B C], 'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+
+	%numbering
+	text(x,y,z,num2str(transpose(1:size(x,1))),...
+		'backgroundcolor',[0.8 0.9 0.8],'HorizontalAlignment','center','VerticalAlignment','middle');
+
+	%Highlight
+	pos=getfieldvalue(options,'highlight',[]);
+	text(x(pos),y(pos),z(pos),num2str(transpose(pos)),...
+		'backgroundcolor',[1 0 0],'HorizontalAlignment','center','VerticalAlignment','middle');
+else
+	%plot mesh 
+	A=elements(:,1); B=elements(:,2); C=elements(:,3); D=elements(:,4); E=elements(:,5); F=elements(:,6);
+	patch( 'Faces', [A B C],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+	patch( 'Faces', [D E F],  'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+	patch( 'Faces', [A B E D],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+	patch( 'Faces', [B E F C],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+	patch( 'Faces', [C A D F],'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor','black');
+
+	%numbering
+	text(x,y,z,num2str(transpose(1:size(x,1))),...
+		'backgroundcolor',[0.8 0.9 0.8],'HorizontalAlignment','center','VerticalAlignment','middle');
+
+	%Highlight
+	pos=getfieldvalue(options,'highlight',[]);
+	text(x(pos),y(pos),z(pos),num2str(transpose(pos)),...
+		'backgroundcolor',[1 0 0],'HorizontalAlignment','center','VerticalAlignment','middle');
+end
+
+%apply options
+options=addfielddefault(options,'title','Node numbering');
+options=addfielddefault(options,'colorbar',0);
+applyoptions(md,[],options);
