📄 mdsmap.m
字号:
function [out]=mdsmap(long,lat,dataset,varargin)
% PURPOSE: This function links a map and mds analysis
%------------------------------------------------------------------------
% USAGE: out=mdsmap(long,lat,dataset,p,restarts,normflag,carte,label,symbol)
% where :
% long = n x 1 vector of coordinates on the first axis
% lat = n x 1 vector of coordinates on the second axis
% dataset = n x p matrix of the variables to study
% p = optional number of dimensions into which points are to be mapped
% [default = 2].
% restarts = optional number of restarts, after finding a new minimum stress,
% needed to end search [default=0].
% normflag = optional boolean flag indicating that stress is to be normalized
% to a range [0-1] if true (=1), or unnormalized
% sum-of-squared deviations if false (=0) [default = 0].
% carte = n x 2 optionnal matrix giving the polygons of the edges of the spatial units
% label = n x 1 optionnal variable used to label selected observations
% symbol = * symbol=1 : selected spatial units are marked with a different symbol
% * symbol=0 : selected spatial units are marked with a different color only (default)
%------------------------------------------------------------------------
% OUTPUTS: out = (n x 1) 0-1 variable: selected spatial units are marked with a 1
%------------------------------------------------------------------------
% MANUAL: Select points on the map or the mds plot by clicking with the left mouse button
% You can select points inside a polygon: - right click to set the first point of the polygon
% - left click to set the other points
% - right click to close the polygon
% Selection is lost when you click on the map
% To quit, click the middle button or press 'q'
%------------------------------------------------------------------------
% uses mds.m, selectmap.m, selectstat.m
%------------------------------------------------------------------------
%------------------------------------------------------------------------
% Christine Thomas-Agnan, Anne Ruiz-Gazen, Julien Moutel
% June 2003
% Universit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -