Scatter3D with gray scale color

15 views (last 30 days)
SM
SM on 19 Jul 2018
Commented: SM on 19 Jul 2018
Hello I have four matrixes of X, Y, Z and C, that the X, Y, and Z are coordinates and the C is the colour intensity (coordinates achieved through image processing and C is the colour intensity of grey image) I want to know, how can I scatterplot these coordinates with the C range colour in grey-scale? The data attached.

Accepted Answer

KSSV
KSSV on 19 Jul 2018
scatter3(X,Y,Z,10,C) ;
colormap(gray)

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by