Color Plot In Descending Order
2 ビュー (過去 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!