Index: /issm/branches/trunk-ice-ocean/src/m/plot/plot_section.m
===================================================================
--- /issm/branches/trunk-ice-ocean/src/m/plot/plot_section.m	(revision 19300)
+++ /issm/branches/trunk-ice-ocean/src/m/plot/plot_section.m	(revision 19301)
@@ -52,5 +52,9 @@
 			resolution=getfieldvalue(options,'resolution');
 		else %Default resolution
-			resolution=[1000 10*md.mesh.numberoflayers];
+			if is2d, 
+				resolution=[1000 10];
+			else
+				resolution=[1000 10*md.mesh.numberoflayers];
+			end
 			disp(['plot_section warning: no resolution specified, use default resolution: [horizontal_resolution vertical_resolution]=[' num2str(resolution)  ']']);
 		end
