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!