Make Boxes on Surface in 3D Plot

3 views (last 30 days)
Ali Raza
Ali Raza on 8 Oct 2019
Edited: Stephan on 8 Oct 2019
How can I make the surface (3D Plot) like this in MATALAB. Like boxes on the surface.
1.PNG

Accepted Answer

Stephan
Stephan on 8 Oct 2019
Edited: Stephan on 8 Oct 2019
A = rand(10,5,3);
A = sum(A);
A = squeeze(A);
surf(A,'LineWidth',2)
Boxes.PNG

More Answers (0)

Community Treasure Hunt

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

Start Hunting!