Index: /issm/trunk/src/m/classes/public/plot/plot_section.m
===================================================================
--- /issm/trunk/src/m/classes/public/plot/plot_section.m	(revision 2558)
+++ /issm/trunk/src/m/classes/public/plot/plot_section.m	(revision 2559)
@@ -38,6 +38,12 @@
 
 %Compute section value
-[elements,x,y,z,s,data_s]=SectionValues(md,data,getfieldvalue(options,'sectionvalue'),resolution);
+if isquiver
+	[elements,x,y,z,s,data_s1]=SectionValues(md,data(:,1),getfieldvalue(options,'sectionvalue'),resolution);
+	[elements,x,y,z,s,data_s2]=SectionValues(md,data(:,2),getfieldvalue(options,'sectionvalue'),resolution);
+else
+	[elements,x,y,z,s,data_s]=SectionValues(md,data,getfieldvalue(options,'sectionvalue'),resolution);
+end
 
+%2D
 if is2d
 
@@ -73,6 +79,19 @@
 	%plot section value
 	subplot(width,width,index1)
-	plot(s,data_s)
+	if isquiver
+		[AX,H1,H2]=plotyy(s,data_s1,s,data_s2,'plot');
+		if exist(options,'Ylabel'),
+			Ylabel=getfieldvalue(options,'Ylabel');
+			if iscell(Ylabel) & length(Ylabel)==2,
+				set(get(AX(1),'Ylabel'),'String',Ylabel{1});
+				set(get(AX(2),'Ylabel'),'String',Ylabel{2});
+				options=removefield(options,'Ylabel',0);
+			end
+		end
+	else
+		plot(s,data_s)
+	end
 
+%3D
 else
 	%plot section value
