Существует функция обмена файлами под названием plotSpread , которая может выполнять следующие графики:
plotSpread({rand(100,1),randn(100,1)})
![enter image description here](https://i.stack.imgur.com/joWFR.png)
data = [randn(50,1);randn(50,1)+3.5]*[1 1];
catIdx = [ones(50,1);zeros(50,1);randi([0,1],[100,1])];
plotSpread(data,'categoryIdx',catIdx,...
'categoryMarkers',{'o','+'},'categoryColors',{'r','b'})
![enter image description here](https://i.stack.imgur.com/zWb3K.png)