transparentScatter

版本 1.1.0.0 (1.8 KB) 作者: Ben Dichter
Flexible tool for making scatterplots with transparent points
490.0 次下载
更新时间 2015/3/20

查看许可证

Finally, an easy-to-use tool for plotting points with transparency! This tool is ideal for when you have too many points for a traditional plot() call, or when you just want your plots to look sexy!
Supports multiple colors, sizes, opacities, and even different shapes.
Edit 3/19/15: This approach is only recommended for versions ≤ 2014a. There is a much easier and more stable way to do this in 2014b:

x=randn(100,1)'; y=randn(100,1)';
hLine=plot(x,y,'o');
hLine.MarkerSize = 20;
hLine.MarkerFaceColor = [0.5,0.5,0.5];
hLine.MarkerEdgeColor = 'none';
drawnow
hLine.MarkerHandle.FaceColorData = uint8(255*[1;0;0;0.3]);

引用格式

Ben Dichter (2024). transparentScatter (https://www.mathworks.com/matlabcentral/fileexchange/47701-transparentscatter), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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

changed description

1.0.0.0