CigarScatterPlot

Version 1.0.0.0 (10.3 KB) by Rik
Make a categorical scatter plot without overlapping markers, resulting in a cigar-shape
50 Downloads
Updated 11 May 2017

View License

Make a categorical scatter plot without overlapping markers, resulting in a cigar-shape. This type of plot is useful when you have too many points for a normal scatter plot, but too few to warrant a box plot (or you might simply not want to use one). The markers automatically resize when the figure size changes.
The result is similar to this plot: https://web.archive.org/web/20170511173615/http://www.bloodjournal.org/content/bloodjournal/117/3/928/F2.large.jpg?sso-checked=true

If you know what the official name of this type of plot is, please let me know.

Tested on R2012b and R2017a, so it should work on all releases.
This code is also compatible with Octave (tested on 4.2.0).

Cite As

Rik (2024). CigarScatterPlot (https://www.mathworks.com/matlabcentral/fileexchange/62871-cigarscatterplot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0