mosaic_plot.zip

Make a mosaic plot from 2D data
592 download
Aggiornato 10 set 2014

Visualizza la licenza

The function mosaic_plot makes a mosaic plot from 2D data. One could check with
http://en.wikipedia.org/wiki/Mosaic_plot for a description of mosaic plot.
The function return two outputs xm and ym, which are the x and y components of centers of boxes. They are useful if one want to label the plot.

E.g., make a mosaic plot for random data and put the percentage of box as
label

data=rand(3,4);
[xm,ym]=mosaic_plot(data);
multi_text(xm(:),ym(:),form_percentage_strings_from_array(data(:)));

Cita come

Samuel Cheng (2025). mosaic_plot.zip (https://it.mathworks.com/matlabcentral/fileexchange/47785-mosaic_plot-zip), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2013a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Contour Plots in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0