Color Surface Plot for specific areas
Mostrar comentarios más antiguos
Is it possible to color a surface plot using my own thresshold values? So that I can say, the color needs to change when the plot hits a certain value?
Respuestas (1)
darova
el 4 de Mzo. de 2021
Yes, its possible. Use cdata property
[x,y,z] = peaks(20);
c = rand(20,20);
surf(x,y,z,'cdata',c)
Categorías
Más información sobre Surface and Mesh Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!