Index: /issm/trunk/src/m/model/plot/scaleruler.m
===================================================================
--- /issm/trunk/src/m/model/plot/scaleruler.m	(revision 6369)
+++ /issm/trunk/src/m/model/plot/scaleruler.m	(revision 6370)
@@ -7,5 +7,5 @@
 %get options
 structure=getfieldvalue(options,'scaleruler');
-fontsize=getfieldvalue(options,'fontsize',16);
+fontsize=getfieldvalue(options,'scaleruler_fontsize',16);
 
 %Go through structure and fill missing arguments
@@ -31,6 +31,6 @@
 %Text
 xt=Bu(1);
-yt=Bu(2)+2*widthscale;
-text(xt,yt,num2str(Tick),'FontSize',fontsize,'FontWeight','b');
+yt=Bu(2)+widthscale;
+text(xt,yt,num2str(Tick),'FontSize',fontsize,'FontWeight','b','HorizontalAlignment','center');
 
 %loope over the patches
@@ -54,8 +54,8 @@
 	%Text
 	xt=Bu(1);
-	yt=Bu(2)+2*widthscale;
+	yt=Bu(2)+widthscale;
 	if i~=numberofticks-1,
-		text(xt,yt,num2str(round_ice(Tick/1000,3)),'FontSize',fontsize,'FontWeight','b');
+		text(xt,yt,num2str(round_ice(Tick/1000,3)),'FontSize',fontsize,'FontWeight','b','HorizontalAlignment','center');
 	end
 end
-text(xt,yt,[num2str(round_ice(Tick/1000,3)) ' km'],'FontSize',fontsize,'FontWeight','b');
+text(xt,yt,[num2str(round_ice(Tick/1000,3)) ' km'],'FontSize',fontsize,'FontWeight','b','HorizontalAlignment','center');
