Last change
on this file since 23189 was 23189, checked in by Mathieu Morlighem, 7 years ago |
merged trunk-jpl and trunk for revision 23187
|
File size:
456 bytes
|
Line | |
---|
1 | function plot_coastlines(mesh,varargin);
|
---|
2 |
|
---|
3 | if nargin==2,
|
---|
4 | if strcmpi(class(varargin{1}),'pairoptions'),
|
---|
5 | options=varargin{1};
|
---|
6 | end
|
---|
7 | else
|
---|
8 | %process options:
|
---|
9 | options=pairoptions(varargin{:});
|
---|
10 | end
|
---|
11 |
|
---|
12 | %retrieve some variables:
|
---|
13 |
|
---|
14 |
|
---|
15 | load ./Data/coastlines
|
---|
16 | [x,y,z]=AboveGround(coastlat,coastlon,mesh.r(1),1000);
|
---|
17 | hold on, p=plot3(x,y,z,'k-');
|
---|
18 | set(p,'Color',getfieldvalue(options,'coast_color','k'));
|
---|
19 | set(p,'LineWidth',getfieldvalue(options,'coast_linewidth',1));
|
---|
20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.