Plotting Points in 3D

222 ビュー (過去 30 日間)
Nikolay Rodionov
Nikolay Rodionov 2012 年 7 月 28 日
Hi,
I would like to make a plot of points in 3 dimensions. I have each points X,Y,Z position and I also need to color them based on a fourth numerical variable.
How can I do this?

採用された回答

bym
bym 2012 年 7 月 28 日
from the documentation:
scatter3(X,Y,Z,S,C)
scatter3(X,Y,Z,S,C) displays colored circles at the locations specified by the vectors X, Y, and Z (which must all be the same size).

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by