3D plot for a given matrix

I built a 3D matrix def3D.mat (size of 1024*1024*183) with values of 0 and 1, which should look like the picture given below. Each bead is composed of values of 1, and the others are 0. How can I draw this picture, including the beads and their projections in the (x,y) plane?

回答 (1 件)

KSSV
KSSV 2024 年 10 月 25 日

0 投票

Read about stem3.

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

タグ

質問済み:

2024 年 10 月 25 日

回答済み:

2024 年 10 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by