Index: /issm/branches/trunk-larour-NatGeoScience2016/src/m/plot/applyoptions.m
===================================================================
--- /issm/branches/trunk-larour-NatGeoScience2016/src/m/plot/applyoptions.m	(revision 22621)
+++ /issm/branches/trunk-larour-NatGeoScience2016/src/m/plot/applyoptions.m	(revision 22622)
@@ -335,5 +335,5 @@
 
 %coastlines
-if exist(options,'coastline'),
+if exist(options,'coastline')| exist(options,'coastlines'),
 	plot_coastlines(md.mesh,options);
 end
@@ -404,4 +404,7 @@
 	if exist(options,'basin'),
 		[mdx mdy]=basinzoom(options);
+	elseif exist(options,'xlim') | exist(options,'ylim'),
+		mdx=getfieldvalue(options,'xlim');
+		mdy=getfieldvalue(options,'ylim');
 	else
 		mdx=[min(md.mesh.x)-offset max(md.mesh.x)+offset];
@@ -410,5 +413,6 @@
 	line(A.x,A.y,ones(size(A.x)),'color','b');
 	patch([Ax(1)  Ax(2)  Ax(2)  Ax(1) Ax(1)],[Ay(1)  Ay(1)  Ay(2)  Ay(2) Ay(1)],[1 1 1],'EdgeColor',[0 0 0],'LineWidth',1,'FaceLighting','none')
-	patch([mdx(1) mdx(2) mdx(2) mdx(1)],[mdy(1) mdy(1) mdy(2) mdy(2)],ones(4,1),'EdgeColor',[0 0 0],'FaceColor','r','FaceAlpha',0.5)
+	patch([mdx(1) mdx(2) mdx(2) mdx(1)],[mdy(1) mdy(1) mdy(2) mdy(2)],ones(4,1),'EdgeColor',[0 0 0],'FaceColor','r')
+	%,'FaceAlpha',0.5)
 	colorbar('off');
 	%back to main gca
Index: /issm/branches/trunk-larour-NatGeoScience2016/src/m/plot/plot_coastlines.m
===================================================================
--- /issm/branches/trunk-larour-NatGeoScience2016/src/m/plot/plot_coastlines.m	(revision 22621)
+++ /issm/branches/trunk-larour-NatGeoScience2016/src/m/plot/plot_coastlines.m	(revision 22622)
@@ -11,8 +11,10 @@
 
 %retrieve some variables: 
-color=getfieldvalue(options,'coast_color','k');
+
 
 load ./Data/coastlines
 [x,y,z]=AboveGround(coastlat,coastlon,mesh.r(1),1000);
-hold on, p=plot3(x,y,z,'k-'); set(p,'Color',color);
+hold on, p=plot3(x,y,z,'k-'); 
+set(p,'Color',getfieldvalue(options,'coast_color','k'));
+set(p,'LineWidth',getfieldvalue(options,'coast_linewidth',1));
 
