m_gshhs_f.m
来自「m_map是加拿大学者编写的一个在matlab上绘地图的软件」· M 代码 · 共 40 行
M
40 行
function m_gshhs_f(varargin);% M_GSHHS_F Add a coastline to a given map using the 'full' resolution of% the Global Self-consistant Hierarchical High-resolution % Shorelines.%% M_GSHHS_F( (standard line option,...,...) ) draws the coastline% as a simple line.% M_GSHHS_F('patch' ( ,standard patch options,...,...) ) draws the % coastline as a number of patches. %% M_GSHHS_F('save',FILENAME) saves the extracted coastline data% for the current projection in a file FILENAME. This allows % speedier replotting using M_USERCOAST(FILENAME). % % See also M_PROJ, M_GRID, M_COAST, M_GSHHS_L, M_GSHHS_I, M_GSHHS_C % M_USERCOAST % Rich Pawlowicz (rich@ocgy.ubc.ca) 31/Aug/98%%% This software is provided "as is" without warranty of any kind. But% it's mine, so you can't sell it.FILNAME='private/gshhs_f.b';% Set current projection to geographicCurrentmap=m_coord('set');m_coord('geographic');if length(varargin)>1 & strcmp(varargin{1},'save'), [ncst,Area,k]=mu_coast('f',FILNAME); eval(['save ' varargin{2} ' ncst k Area']);else mu_coast('f',FILNAME,varargin{:},'tag','m_gshhs_f');end;m_coord(Currentmap.name);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?