mosaic_plot.zip

バージョン 1.0.0.0 (2.01 KB) 作成者: Samuel Cheng
Make a mosaic plot from 2D data
ダウンロード: 593
更新 2014/9/10

ライセンスの表示

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://jp.mathworks.com/matlabcentral/fileexchange/47785-mosaic_plot-zip), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2013a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersContour Plots についてさらに検索
タグ タグを追加
バージョン 公開済み リリース ノート
1.0.0.0