m_plot.m

来自「A mapping package for Matlab:这是一款功能十分强大的」· M 代码 · 共 37 行

M
37
字号
function han = m_plot(varargin)% M_PLOT Plot objects on an M_MAP plot.   All of the normal% Matlab plot options are available.  NOTE - this isn't exactly% like plot as only the first two arguments are actually converted% to map coords, i.e.:%% USAGE: M_PLOT(LON,LAT,[OPTIONS]) %% Deirdre Byrne, dbyrne@umeoce.maine.edu 00/07/27 (v1.1)%% This software is provided "as is" without warranty of any kind.global MAP_PROJECTION MAP_VAR_LISTif isempty(MAP_PROJECTION),  disp('No Map Projection initialized - call M_PROJ first!');  return;end;if nargin < 2;  help m_plot  returnend[x,y] = m_ll2xy(varargin{1},varargin{2});varargin = varargin(:);s = size(varargin,1);h=plot(x,y,varargin{3:s});if nargout == 1  han = h;endreturn

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?