You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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]);
Cite As
Ben Dichter (2026). transparentScatter (https://se.mathworks.com/matlabcentral/fileexchange/47701-transparentscatter), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (1.79 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
