Plotting 3D scatter plot from elements in a matrix
Show older comments
Hello all,
I have a matrix A with dimensions 47 x 4. I would like to plot the values in the matrix in a 3D plot. For e.g element A(4, 5) = 12 should be represented with x=4, y=5 and z= 12. Since, the values are non-uniform, I think a 3D scatter plot would be a good way to visualize the data. But, I tried mesh as well as surf to represent the data but the figure obtained was weird. Something like following. Could someone please help me converting this to a 3D scatter plot.

Accepted Answer
More Answers (0)
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!