rug plots

版本 1.3.0.0 (2.6 KB) 作者: Rob Campbell
Creates a so-called "rug" plot similar to those produced by the free stats package, R.
1.2K 次下载
更新时间 2010/6/18

查看许可证

A rug plot is a compact way of illustrating the marginal distributions of a variable along x and y. Positions of the data points along x and y are denoted by tick marks, reminiscent of the tassels on a rug.

Known Issues:
Rug marks are overlaid onto the same axis as the original data. Changing the axis dimensions after calling rug will therefore cause the tick marks to become disassociated from the axes.

I haven't tested this function extensively so let me know if you find any problems.

引用格式

Rob Campbell (2024). rug plots (https://www.mathworks.com/matlabcentral/fileexchange/27582-rug-plots), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Scatter Plots 的更多信息
致谢

参考作品: marginalscatter

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.3.0.0

minor updates to summary

1.2.0.0

Tidy and correct comments. Check that tickScaleFactor is between 0 and 1.

1.1.0.0

Allow tick mark length to be defined at the command line.

1.0.0.0