Scatter3D with gray scale color

조회 수: 9 (최근 30일)
SM
SM 2018년 7월 19일
댓글: SM 2018년 7월 19일
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.

채택된 답변

KSSV
KSSV 2018년 7월 19일
scatter3(X,Y,Z,10,C) ;
colormap(gray)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modify Image Colors에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by