rectTree (treemap chart | 矩形树状图)

rectangular tree/treemap chart 矩形树状图

Ahora está siguiendo esta publicación

Data = [1;3;2;6;3;7;2;5;6;8;9;2;4;4;6;1;5;9;1;2;6;9;4;1;4];
Class = [3;1;2;5;3;1;2;1;5;5;5;4;4;1;2;3;2;1;5;3;3;2;2;2;5];
CT = rectTree(Data, Class);
CT = CT.draw();
% Randomly generate data and classifications
Data = rand(1,50).*linspace(10,100,50);
Class = randi([1,5],[50,1]);
% Create rectTree(treemap) object
CT=rectTree(Data,Class);
% Change color
CT.ColorOrder = [.91 .45 .50; .96 .63 .64; .97 .80 .61
.10 .71 .68; .03 .54 .74];
% Draw rectTree(treemap)
CT = CT.draw();

Citar como

Zhaoxu Liu / slandarer (2026). rectTree (treemap chart | 矩形树状图) (https://la.mathworks.com/matlabcentral/fileexchange/118515-recttree-treemap-chart), MATLAB Central File Exchange. Recuperado .

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.1.1

More details.

1.1.0

More demos

1.0.0