Plotting Points in 3D

조회 수: 216 (최근 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 CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by