You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
- Version 1.2.2 (6.91 MB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
