Index: /issm/trunk/src/m/classes/public/plot/applyoptions.m
===================================================================
--- /issm/trunk/src/m/classes/public/plot/applyoptions.m	(revision 843)
+++ /issm/trunk/src/m/classes/public/plot/applyoptions.m	(revision 844)
@@ -122,9 +122,4 @@
 end
 
-%axis
-if ~isnan(options_structure.axis)
-	eval(['axis ' options_structure.axis]);
-end
-
 %area
 if ~isnan(options_structure.area),
@@ -168,4 +163,9 @@
 end
 
+%axis
+if ~isnan(options_structure.axis)
+	eval(['axis ' options_structure.axis]);
+end
+
 %streamliness
 if iscell(options_structure.streamlines) | ~isnan(options_structure.streamlines),
Index: /issm/trunk/src/m/classes/public/plot/parse_options.m
===================================================================
--- /issm/trunk/src/m/classes/public/plot/parse_options.m	(revision 843)
+++ /issm/trunk/src/m/classes/public/plot/parse_options.m	(revision 844)
@@ -594,5 +594,5 @@
 		Ly=max(md.y)-min(md.y);
 		%default values
-		scalerulervalues.value=[min(md.x)+1/8*Lx   min(md.y)+1/8*Ly   10^(ceil(log10(Lx)))/5 floor(Lx/100) 5];
+		scalerulervalues.value=[min(md.x)+6/8*Lx   min(md.y)+1/10*Ly   10^(ceil(log10(Lx)))/5 floor(Lx/100) 5];
 	end
 	options_struct.scaleruler=scalerulervalues.value;
Index: /issm/trunk/src/m/classes/public/plot/plot_contour.m
===================================================================
--- /issm/trunk/src/m/classes/public/plot/plot_contour.m	(revision 843)
+++ /issm/trunk/src/m/classes/public/plot/plot_contour.m	(revision 844)
@@ -233,5 +233,5 @@
 if (~strcmpi(options_structure.contourticks,'off') & ~isempty(c) & ~isempty(h))
 	if ~isnan(options_structure.contourcolor)
-		clabel(c,h,'color',color);
+		clabel(c,h,'color',color,'FontSize',14);
 	else
 		clabel(c,h);
Index: /issm/trunk/src/m/classes/public/plot/plot_overlay.m
===================================================================
--- /issm/trunk/src/m/classes/public/plot/plot_overlay.m	(revision 843)
+++ /issm/trunk/src/m/classes/public/plot/plot_overlay.m	(revision 844)
@@ -108,5 +108,5 @@
 end
 if isnan(options_structure.colorbarpos),
-	options_structure.colorbarpos=[0.82 0.65 0.03 0.2];
+	options_structure.colorbarpos=[0.80 0.70 0.02 0.15];
 end
 iscolorbar=(options_structure.colorbar==1 | isnan(options_structure.colorbar));
Index: /issm/trunk/src/m/classes/public/plot/scaleruler.m
===================================================================
--- /issm/trunk/src/m/classes/public/plot/scaleruler.m	(revision 843)
+++ /issm/trunk/src/m/classes/public/plot/scaleruler.m	(revision 844)
@@ -52,6 +52,6 @@
 	yt=Bu(2)+widthscale;
 	if i~=numberofticks-1,
-		text(xt,yt,num2str(Tick/1000),'FontSize',13,'FontWeight','b');
+		text(xt,yt,num2str(round_ice(Tick/1000,3)),'FontSize',13,'FontWeight','b');
 	end
 end
-text(xt,yt,[num2str(Tick/1000) ' km'],'FontSize',13,'FontWeight','b');
+text(xt,yt,[num2str(round_ice(Tick/1000,3)) ' km'],'FontSize',13,'FontWeight','b');
Index: /issm/trunk/src/m/classes/public/printmodel.m
===================================================================
--- /issm/trunk/src/m/classes/public/printmodel.m	(revision 843)
+++ /issm/trunk/src/m/classes/public/printmodel.m	(revision 844)
@@ -7,4 +7,5 @@
 %      printmodel(filename,format)
 
+set(gcf,'Renderer','zbuffer'); %fixes a bug on Mac OS X (not needed in future Matlab version)
 frame=getframe();image=frame2im(frame);
 imwrite(image,filename,format);
Index: /issm/trunk/src/m/utils/Math/round_ice.m
===================================================================
--- /issm/trunk/src/m/utils/Math/round_ice.m	(revision 844)
+++ /issm/trunk/src/m/utils/Math/round_ice.m	(revision 844)
@@ -0,0 +1,38 @@
+function new_x=round_ice(x,numnonzeros)
+%ROUND_ICE - rounds up x so that it has only numnonzeros non zero digits
+%
+%   numnonzeros must be an integer larger or equal to 1
+%
+%   Usage:
+%      new_x=round_ice(x,numnonzeros)
+
+%some checks
+if (nargin ~=2 | nargout>1),
+	error('round_ice usage: new_x=round_ice(x,numonzeros)');
+end
+if ~isnumeric(x)
+	error('round_ice error message: x must be a number and numzeros an integer');
+end
+if round(numnonzeros)~=numnonzeros
+	error('round_ice error message: numnonzeros must be an integer larger or equal to 1')
+end
+if any(numnonzeros<1)
+	error('round_ice error message: numnonzeros must be an integer larger or equal to 1')
+end
+if (length(numnonzeros)~=1 & size(numnonzeros)~=size(x))
+	error('round_ice error message: numnonzeros must be an integer larger or equal to 1 or a list of integers of length length(x)')
+end
+
+%figure out how long x is
+lengthx=ceil(log10(abs(x)));
+
+%if x contains 0, lengthx=-Inf
+lengthx(isinf(lengthx))=1;
+
+%get its sign
+si=sign(x);
+
+%rule out zeros
+new_x=si.*round(abs(x).*10.^(-lengthx+numnonzeros)).*10.^(lengthx-numnonzeros);
+
+
Index: sm/trunk/src/m/utils/Miscellaneous/round_ice.m
===================================================================
--- /issm/trunk/src/m/utils/Miscellaneous/round_ice.m	(revision 843)
+++ 	(revision )
@@ -1,38 +1,0 @@
-function new_x=round_ice(x,numnonzeros)
-%ROUND_ICE - rounds up x so that it has only numnonzeros non zero digits
-%
-%   numnonzeros must be an integer larger or equal to 1
-%
-%   Usage:
-%      new_x=round_ice(x,numnonzeros)
-
-%some checks
-if (nargin ~=2 | nargout>1),
-	error('round_ice usage: new_x=round_ice(x,numonzeros)');
-end
-if ~isnumeric(x)
-	error('round_ice error message: x must be a number and numzeros an integer');
-end
-if round(numnonzeros)~=numnonzeros
-	error('round_ice error message: numnonzeros must be an integer larger or equal to 1')
-end
-if any(numnonzeros<1)
-	error('round_ice error message: numnonzeros must be an integer larger or equal to 1')
-end
-if (length(numnonzeros)~=1 & size(numnonzeros)~=size(x))
-	error('round_ice error message: numnonzeros must be an integer larger or equal to 1 or a list of integers of length length(x)')
-end
-
-%figure out how long x is
-lengthx=ceil(log10(abs(x)));
-
-%if x contains 0, lengthx=-Inf
-lengthx(isinf(lengthx))=1;
-
-%get its sign
-si=sign(x);
-
-%rule out zeros
-new_x=si.*round(abs(x).*10.^(-lengthx+numnonzeros)).*10.^(lengthx-numnonzeros);
-
-
