3D markers in a scatter3 plot

I am working on a scatter3 plot to visualize PCA data. However, my current plot has 2D markers (circles) for each data point. Instead, I'd like to use a 3D marker (sphere) for each data point. Is that possible? I don't see a sphere option as marker type in scatter3 plot info, so I would imagine I have to do some programming to make this happen. My attempts so far have failed. Any suggestions?

Asked:

on 18 Aug 2011

Answered:

on 11 Jun 2024

Community Treasure Hunt

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

Start Hunting!