Scatter3D with gray scale color

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

scatter3(X,Y,Z,10,C) ;
colormap(gray)

More Answers (0)

Tags

Asked:

SM
on 19 Jul 2018

Commented:

SM
on 19 Jul 2018

Community Treasure Hunt

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

Start Hunting!