source: issm/trunk-jpl/src/m/regional/plotbasins.m@ 13010

Last change on this file since 13010 was 13010, checked in by Mathieu Morlighem, 13 years ago

CHG: moving stuff around

File size: 355 bytes
RevLine 
[2890]1%display all the domain outlines in a directory
2
3basins=listfiles;
4
5hold on
6for i=1:length(basins),
7 %check whether this is a .exp file
8 basin=basins{i};
9 if strcmpi(basin(end-3:end),'.exp'),
10
11 contour=expread(basin,0);
12 x=contour(1).x;
13 y=contour(1).y;
14 x0=mean(x); y0=mean(y);
15 text(x0,y0,basin(1:end-4),'Fontsize',14);
16 expdisp(basin);
17 end
18end
Note: See TracBrowser for help on using the repository browser.