Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I plot coloured 3-D scatter

조회 수: 1 (최근 30일)
hamed abdulaziz
hamed abdulaziz 2014년 2월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi all,
How can I plot coloured 3-D scatter like this sample below
If any one have a time please explain in example matlab code? thanks to All.
I tried this code
c1=1;
c2=1;
c3=1;
for index=1:9000
n_sampleh(c1)=sampleh(index);
n_samples(c2)=samples(index);
n_samplev(c3)=samplev(index);
c1=c1+1;
c2=c2+1;
c3=c3+1;
end
figure(),
h=scatter3(n_samples,n_sampleh,n_samplev);
but I don't know how to color the points to three colors as shown in the image
  댓글 수: 1
hamed abdulaziz
hamed abdulaziz 2014년 2월 17일
Please can I get an answer?

답변 (1개)

per isakson
per isakson 2014년 2월 17일
편집: per isakson 2014년 2월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by