⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moranplotmap.m

📁 计量工具箱
💻 M
字号:
function [out1,out2]=moranplotmap(long,lat,variable,mat,flower,varargin)
% PURPOSE: This function links a map and a moran scatterplot
%------------------------------------------------------------------------
% USAGE: [out1,out2]=moranplotmap(long,lat,variable,mat,flower,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
%           variable = n x 1 vector of the variable to study
%           mat = weight matrix
%           flower = flower = 1 : link selected points with their neighbors.
%                    flower =0 : don't link selected points with their neighbors.   
%           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: out1 = (n x 1) 0-1 variable: selected spatial units are marked with a 1  
%          out2 = stardard moran index
%------------------------------------------------------------------------
% MANUAL: Select points on either the map or the scatterplot 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
%         You can select whole quadrants: - push 1 to select the first quadrant
%                                         - push 2 to select the second quadrant
%                                         - push 3 to select the third quadrant
%                                         - push 4 to select the fourth quadrant
%         Selection is lost when you switch graph or selection mode (quadrant vs point)
%         To quit, click the middle button or press 'q'
% -----------------------------------------------------------------------
% Christine Thomas-Agnan, Anne Ruiz-Gazen, Julien Moutel
% June 2003
% Universit

⌨️ 快捷键说明

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