Index: /issm/trunk-jpl/src/m/plot/applyoptions.m
===================================================================
--- /issm/trunk-jpl/src/m/plot/applyoptions.m	(revision 22923)
+++ /issm/trunk-jpl/src/m/plot/applyoptions.m	(revision 22924)
@@ -266,4 +266,24 @@
 end
 
+%shpdisp
+if exist(options,'shpdisp'),
+	filename=(getfieldvalue(options,'shpdisp'));
+	style=(getfieldvalue(options,'shpstyle',{'r.-'}));
+	linewidth=(getfieldvalue(options,'linewidth',1));
+	for i=1:length(getfieldvalue(options,'shpdisp')),
+		filenamei=filename{i};
+		stylei=style{i};
+		if length(linewidth)==1,
+			linewidthi=linewidth;
+		else
+			linewidthi=linewidth{i};
+		end
+		%shpdisp(filenamei,'linestyle',stylei,'linewidth',linewidthi,'multiplier',getfieldvalue(options,'unit',1));
+		shpdisp(filenamei,1,stylei,linewidthi,getfieldvalue(options,'unit',1));
+	end
+end
+
+
+
 %text (default value is empty, not NaN...)
 if exist(options,'text');
@@ -274,4 +294,5 @@
 	textposition=getfieldvalue(options,'textposition');
 	textrotation=getfieldvalue(options,'textrotation');
+	text3d=getfieldvalue(options,'text3d',0);
 	for i=1:length(getfieldvalue(options,'text'));
 		textstringi=textstring{i};
@@ -281,5 +302,9 @@
 		textpositioni=textposition{i};
 		textrotationi=textrotation{i};
-		h=text(textpositioni(1),textpositioni(2),10,textstringi,'FontSize',textsizei,'FontWeight',textweighti,'Color',textcolori,'Rotation',textrotationi);
+		if ~text3d,
+			h=text(textpositioni(1),textpositioni(2),textstringi,'FontSize',textsizei,'FontWeight',textweighti,'Color',textcolori,'Rotation',textrotationi);
+		else
+			h=text(textpositioni(1),textpositioni(2),textpositioni(3),textstringi,'FontSize',textsizei,'FontWeight',textweighti,'Color',textcolori,'Rotation',textrotationi);
+		end
 		if strcmpi(getfieldvalue(options,'textclip','on'),'on'),
 			set(h,'Clipping','on'); %prevent text from appearing outside of the box
@@ -312,4 +337,9 @@
 if exist(options,'contourlevels'),
 	plot_contour(md,data,options);
+end
+
+%coastlines
+if exist(options,'coastline')| exist(options,'coastlines'),
+	plot_coastlines(md.mesh,options);
 end
 
