special heatmap

special heatmap
660 Downloads
Aktualisiert 28. Mai 2023

Lizenz anzeigen

1 基础使用(Basic use)
1.1 非负矩阵(Draw positive heat map)
figure()
Data=rand(15,15);
SHM1=SHeatmap(Data,'Format','sq');
SHM1=SHM1.draw();
1.2 绘制有负数热图(Contains negative numbers)
figure()
Data=rand(15,15)-.5;
SHM2=SHeatmap(Data,'Format','sq');
SHM2=SHM2.draw();
1.6 绘制有文本热图(Draw heat map with texts)
使用 setText() 方法显示文字:
Use the setText() method to display text:
figure()
Data=rand(12,12)-.5;
Data([4,5,13])=nan;
SHM7=SHeatmap(Data,'Format','sq');
SHM7=SHM7.draw();
SHM7.setText();
2 各类型热图绘制(Preparation of various Format of heat maps)
  • sq : square (default) : 方形(默认)
  • pie : pie chart : 饼图
  • circ : circular : 圆形
  • oval : oval : 椭圆形
  • hex : hexagon :六边形
  • asq : auto-size square :自带调整大小的方形
  • acirc : auto-size circular :自带调整大小的圆形
More Demos can be seen in README.xls

Zitieren als

Zhaoxu Liu / slandarer (2024). special heatmap (https://www.mathworks.com/matlabcentral/fileexchange/125520-special-heatmap), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2022b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Tags Tags hinzufügen

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

matlab-special-heatmap

Version Veröffentlicht Versionshinweise
2.1.1

support setting text format

2.1.0

More Description

2.0.0

可设置为上三角或下三角(Set to upper triangle or lower triangle)
增添较多示例(Give more demos)
+ 设置为上三角或下三角(Set to upper triangle or lower triangle)
+ 合并两个三角热图(Merge two triangle heat maps)
+ 带树状图热图(Heatmap with dendrogram)
+ 带分组热图(Grouping heat map)
+ ... ...

1.0.0