Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How can I plot coloured 3-D scatter
1 回表示 (過去 30 日間)
古いコメントを表示
Hi all,
How can I plot coloured 3-D scatter like this sample below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156878/image.jpeg)
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 件のコメント
回答 (1 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!