Index: /issm/trunk-jpl/src/m/classes/mesh2dvertical.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/mesh2dvertical.m	(revision 20670)
+++ /issm/trunk-jpl/src/m/classes/mesh2dvertical.m	(revision 20671)
@@ -249,4 +249,13 @@
 			y        = self.y;
 			z        = zeros(self.numberofvertices,1);
+
+			if exist(options,'xunit'),
+				unit=getfieldvalue(options,'xunit');
+				x=x*unit; % Apply to x only
+			end
+			if exist(options,'yunit'),
+				unit=getfieldvalue(options,'yunit');
+				x=x*unit; % Apply to x only
+			end
 		end % }}}
 	end
