Make Boxes on Surface in 3D Plot

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)

Asked:

on 8 Oct 2019

Edited:

on 8 Oct 2019

Community Treasure Hunt

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

Start Hunting!