MATLAB: 3d scatter plot for a grouping data

gscatter

I am searching for a 3D version of gscatter. I know it was asked a while ago and apparently there was no function available at that time.
I wana check if it is added to newer version of matlab?

Best Answer

gscatter3 is not available as a built-in function in MATLAB. You can write your own wrapper around plot3() to get the same effect as gscatter3. Chad's answer to that question also shows suggest a method. You can also directly use this FEX submission: https://www.mathworks.com/matlabcentral/fileexchange/37970-gscatter3, which internally uses plot3() to give the same result as gscatter in 3D.
Related Question