Index: /issm/trunk/src/m/model/plot/applyoptions.m
===================================================================
--- /issm/trunk/src/m/model/plot/applyoptions.m	(revision 6166)
+++ /issm/trunk/src/m/model/plot/applyoptions.m	(revision 6167)
@@ -57,5 +57,5 @@
 %Must be done here so that it uses the same xlim and ylim as plot_overlay
 %these are changed by axis that follows
-if exist(options,'latlon')
+if strcmpi(getfieldvalue(options,'latlon','off'),'on')
 	latlonoverlay(options);
 end
@@ -130,5 +130,5 @@
 		c=colorbar;
 	end
-	set(c,'FontSize',getfieldvalue(options,'colorbarfontsize',14));
+	set(c,'FontSize',getfieldvalue(options,'colorbarfontsize',fontsize));
 	if exist(options,'wrapping')
 		lim=get(c,'Ylim');
@@ -187,5 +187,5 @@
 if exist(options,'text');
 	textstring=getfieldvalue(options,'text');
-	textweight=getfieldvalue(options,'textweight');
+	textweight=getfieldvalue(options,'textweight','b');
 	textsize=getfieldvalue(options,'textsize');
 	textcolor=getfieldvalue(options,'textcolor');
Index: /issm/trunk/src/m/model/plot/plot_manager.m
===================================================================
--- /issm/trunk/src/m/model/plot/plot_manager.m	(revision 6166)
+++ /issm/trunk/src/m/model/plot/plot_manager.m	(revision 6167)
@@ -180,7 +180,7 @@
 	PosInset=[cplotpos(1)+insetpos(1)*cplotpos(3),cplotpos(2)+insetpos(2)*cplotpos(4), insetpos(3)*cplotpos(3), insetpos(4)*cplotpos(4)];
 	%show pos
+	X1=getfieldvalue(options,'insetx',[min(x) max(x)]);
+	Y1=getfieldvalue(options,'insety',[min(y) max(y)]);
 	if strcmpi(getfieldvalue(options,'showinset','off'),'on')
-		X1=getfieldvalue(options,'insetx',[min(x) max(x)]);
-		Y1=getfieldvalue(options,'insety',[min(y) max(y)]);
 		line(X1([1 2 2 1 1]),Y1([1 1 2 2 1]),zeros(1,5),'Color','k','LineWidth',2);
 	end
@@ -189,4 +189,6 @@
 	axes('pos',PosInset);
 	box('on')
+	patch('Faces',[1 2 3 4 1],'Vertices',[X1([1 2 2 1])' Y1([1 1 2 2])' -10^10*ones(4,1)],'FaceColor','w','EdgeColor','k');
+	hold on
 	plot_unit(x,y,z,elements,data2,is2d,datatype,options);
 
Index: /issm/trunk/src/m/model/plot/plot_unit.m
===================================================================
--- /issm/trunk/src/m/model/plot/plot_unit.m	(revision 6166)
+++ /issm/trunk/src/m/model/plot/plot_unit.m	(revision 6167)
@@ -9,5 +9,5 @@
 %edgecolor
 edgecolor=getfieldvalue(options,'edgecolor','none');
-%P=get(gca,'pos');
+%P=get(gca,'pos')
 %P(3)=P(3)+0.04;
 %P(1)=P(1)-0.02;
