Color Surface Plot for specific areas

3 visualizaciones (últimos 30 días)
Cb
Cb el 4 de Mzo. de 2021
Comentada: darova el 4 de Mzo. de 2021
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
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)
  2 comentarios
darova
darova el 4 de Mzo. de 2021
Can you show/attach the data?
darova
darova el 4 de Mzo. de 2021
I still don't get where you want to change color. Can you show it on the picture?

Iniciar sesión para comentar.

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by