multivariate map (多变量映射图)

bivariate/ternary choropleth map (双变量/三变量映射图)

You are now following this Submission

multiData=load('multi2_3.mat');
X1=multiData.X1;
X2=multiData.X2;
A=multiData.A;
B=multiData.B;
C=multiData.C;
% 先绘制一个没有赋予颜色的图形
% First, plot a figure without assigning colors.
surfHdl=surf(X1,X2,zeros(size(X1)),'EdgeColor','none');
hold on;view(2);axis tight
% 调用工具函数生成图例和映射表
% Call utility functions to generate the legend and mapping table.
[CMapData,CMapHdl]=multiVarMap3(A,B,C,'colorList',1,'pieceNum',8);
set(surfHdl,'CData',CMapData);
More examples:
详情请见公众号:slandarer随笔

Cite As

Zhaoxu Liu / slandarer (2026). multivariate map (多变量映射图) (https://nl.mathworks.com/matlabcentral/fileexchange/117165-multivariate-map), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.2

Change package name.

1.2.1

More English support

1.2.0

debug and more demo

1.1.0

add part description

1.0.0