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(:)));
인용 양식
Samuel Cheng (2026). mosaic_plot.zip (https://kr.mathworks.com/matlabcentral/fileexchange/47785-mosaic_plot-zip), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2013a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Graphics > 2-D and 3-D Plots > Contour Plots >
Help Center 및 MATLAB Answers에서 Contour Plots에 대해 자세히 알아보기
태그
mosaic_plot/
| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0.0 |
