Index: /issm/trunk-jpl/src/m/plot/applyoptions.m
===================================================================
--- /issm/trunk-jpl/src/m/plot/applyoptions.m	(revision 17707)
+++ /issm/trunk-jpl/src/m/plot/applyoptions.m	(revision 17708)
@@ -60,8 +60,16 @@
 	eval(['axis ' getfieldvalue(options,'axis')]);
 else
-	if dimension(md.mesh)==2 | exist(options,'layer'),
+	if strcmp(domaintype(md.mesh),'3D'),
+		if ~exist(options,'layer'),
+			axis auto tight
+		else
+			axis tight equal
+		end
+	elseif strcmp(domaintype(md.mesh),'2Dvertical'),
+		axis auto tight
+	elseif strcmp(domaintype(md.mesh),'2Dhorizontal'),
 		axis tight equal;
 	else
-		axis auto tight
+		error('type of domain not supported');
 	end
 end
