Color Plot In Descending Order
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a matrix such as [x1 y1 z1; x2 y2 z2 ... xn yn zn]. I am plotting it as follows
ptCloud = pointCloud(plot_mat);
How can I add on a color matrix (in grayscale) such that the max z value is white and lowest color value is black. So far I have tried to use a colormap but the colormap only does concentration of points and not min and max.
댓글 수: 1
Image Analyst
2020년 3월 5일
편집: Image Analyst
2020년 3월 5일
Please attach plot_mat in a .mat file so people can try some things. In the meantime, try the caxis() function.
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 White에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!