Function for making swarmplots/beeswarms using a variety of ordering and corraling methods. Replicates a lot of the functionality of the beeswarm package in R.
Ian Stevenson (2021). beeswarm (https://github.com/ihstevenson/beeswarm), GitHub. Retrieved .
Wow this is really useful and versatile beeswarm plotter, best one for MATLAB I have found so far and I tried a few others. Simple to use, 1 function, multiple options, not sure what else you could ask for.
Bug when running the example in MATLAb 2019a
>> clear all
>> y = randn(150,1);
>> x = round(rand(150,1)*5);
Undefined function 'sqrt' for input arguments of type 'char'.
Error in beeswarm (line 61)
dcut = dcut*sqrt(dot_size)/as(1)*(range(unique(x))+1);
Really usefull. It would be nice to have a description of the properties and an easy way to change colors.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!