Color Plot In Descending Order
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Image Analyst
am 5 Mär. 2020
Bearbeitet: Image Analyst
am 5 Mär. 2020
Please attach plot_mat in a .mat file so people can try some things. In the meantime, try the caxis() function.
Antworten (1)
Siehe auch
Kategorien
Mehr zu Colormaps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!