MATLAB Answers

3d scatter plot for a grouping data

14 views (last 30 days)
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?


Sign in to comment.

Accepted Answer

Ameer Hamza
Ameer Hamza on 29 Apr 2020
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:, which internally uses plot3() to give the same result as gscatter in 3D.


Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!

Translated by