Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
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();
Cita come
Zhaoxu Liu / slandarer (2026). rectTree (treemap chart | 矩形树状图) (https://it.mathworks.com/matlabcentral/fileexchange/118515-recttree-treemap-chart), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.1.1 (214 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
