How to scat 3D Matrix with value as color
2 views (last 30 days)
Show older comments
Hello,
I have a 3D Array, for e.g.
z = zeros(3,3,3);
z(2,2,2) = 1;
Now I want to Plot this Array with a point for every Number colored for the value.
I made a drawing with paint to underline, what I want:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/456794/image.png)
Thanks!
0 Comments
Accepted Answer
More Answers (0)
See Also
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!