Index: /issm/trunk/src/m/model/plot/plot_elementstype.m
===================================================================
--- /issm/trunk/src/m/model/plot/plot_elementstype.m	(revision 8114)
+++ /issm/trunk/src/m/model/plot/plot_elementstype.m	(revision 8115)
@@ -23,14 +23,14 @@
 	p1=patch( 'Faces', [A B C], 'Vertices', [x y z],'CData',HutterApproximationEnum,'FaceColor','flat','EdgeColor',edgecolor);
 	%MacAyeal element
-	posH=find(data==MacAyealApproximationEnum);
-	A=elements(posH,1); B=elements(posH,2); C=elements(posH,3); 
+	posM=find(data==MacAyealApproximationEnum);
+	A=elements(posM,1); B=elements(posM,2); C=elements(posM,3); 
 	p2=patch( 'Faces', [A B C], 'Vertices', [x y z],'CData',MacAyealApproximationEnum,'FaceColor','flat','EdgeColor',edgecolor);
 	%Pattyn element
-	posH=find(data==PattynApproximationEnum);
-	A=elements(posH,1); B=elements(posH,2); C=elements(posH,3); 
+	posP=find(data==PattynApproximationEnum);
+	A=elements(posP,1); B=elements(posP,2); C=elements(posP,3); 
 	p3=patch( 'Faces', [A B C], 'Vertices', [x y z],'CData',PattynApproximationEnum,'FaceColor','flat','EdgeColor',edgecolor);
 	%MacAyealPattyn element
-	posH=find(data==MacAyealPattynApproximationEnum);
-	A=elements(posH,1); B=elements(posH,2); C=elements(posH,3); 
+	posMP=find(data==MacAyealPattynApproximationEnum);
+	A=elements(posMP,1); B=elements(posMP,2); C=elements(posMP,3); 
 	p5=patch( 'Faces', [A B C], 'Vertices', [x y z],'CData',MacAyealPattynApproximationEnum,'FaceColor','flat','EdgeColor',edgecolor);
 	%Stokes elements
@@ -50,5 +50,8 @@
 	A=elements(posNONE,1); B=elements(posNONE,2); C=elements(posNONE,3); 
 	p9=patch( 'Faces', [A B C], 'Vertices', [x y z],'CData',NoneApproximationEnum,'FaceColor','flat','EdgeColor',edgecolor);
-	legend([p1 p2 p3 p5 p6 p7 p8 p9],'Hutter''s elements','MacAyeal''s elements','Pattyn''s elements','MacAyealPattyn''s elements','Stokes''s elements','MacAyealStokes''s elements','PattynStokes''s elements','No element');
+
+	legend([p1 p2 p3 p5 p6 p7 p8 p9],...
+		'Hutter''s elements','MacAyeal''s elements','Pattyn''s elements',...
+		'MacAyealPattyn''s elements','Stokes''s elements','MacAyealStokes''s elements','PattynStokes''s elements','None element');
 
 else
@@ -78,5 +81,4 @@
 	patch( 'Faces', [C A D F],'Vertices', [x y z],'CData', PattynApproximationEnum,'FaceColor','flat','EdgeColor',edgecolor);
 	%Stokes elements
-	save data data
 	posS=find(data==StokesApproximationEnum);
 	A=elements(posS,1); B=elements(posS,2); C=elements(posS,3); D=elements(posS,4); E=elements(posS,5); F=elements(posS,6);
@@ -118,5 +120,8 @@
 	patch( 'Faces', [B E F C],'Vertices', [x y z],'CData', NoneApproximationEnum,'FaceColor','flat','EdgeColor',edgecolor);
 	patch( 'Faces', [C A D F],'Vertices', [x y z],'CData', NoneApproximationEnum,'FaceColor','flat','EdgeColor',edgecolor);
-	legend([p1 p2 p3 p4 p5 p6 p7 p8],'Hutter''s elements','MacAyeal''s elements','Pattyn''s elements','Stokes''s elements','MacAyealPattyn''s elements','PattynStokes''s elements','MacAyealStokes''s elements','None elements');
+
+	legend([p1 p2 p3 p4 p5 p6 p7 p8],...
+		'Hutter''s elements','MacAyeal''s elements','Pattyn''s elements','Stokes''s elements',...
+		'MacAyealPattyn''s elements','PattynStokes''s elements','MacAyealStokes''s elements','None elements');
 end
 
