source: Roms_tools/m_map/m_coast.m @ 1

Last change on this file since 1 was 1, checked in by cholod, 13 years ago

import Roms_Agrif

File size: 922 bytes
Line 
1function m_coast(varargin);
2% M_COAST Add a coastline to a given map.
3%         M_COAST draw a coastline as either filled patches (slow) or
4%         lines (fast) on a given projection. It uses a coastline database with
5%         a resolution of about 1/4 degree.
6%
7%         M_COAST( (standard line option,...,...) )  or
8%         M_COAST('line', (standard line option,...,...) ) draws the coastline
9%         as a simple line.
10%         M_COAST('patch' ( ,standard patch options,...,...) ) draws the
11%         coastline as a number of patches.
12%
13%   
14%         See also M_PROJ, M_GRID     
15
16% Rich Pawlowicz (rich@ocgy.ubc.ca) 15/June/98
17%
18%
19% This software is provided "as is" without warranty of any kind. But
20% it's mine, so you can't sell it.
21
22
23% Set current projection to geographic
24Currentmap=m_coord('set');
25m_coord('geographic');
26
27
28mu_coast('default',varargin{:},'tag','m_coast');
29
30m_coord(Currentmap.name);
Note: See TracBrowser for help on using the repository browser.