MATLAB - adding additional data to surface plot tooltip

27 visualizaciones (últimos 30 días)
Ali Shakeri
Ali Shakeri el 5 de Nov. de 2020
Comentada: Walter Roberson el 6 de Nov. de 2020
I have created a cylinder with the help of a surface plot and a 360x512 matrix with some data(named map100).
When i put my cursor over the cylinder i see my X,Y,Z on the tooltip as expected. However i would also like to see the matrix(map100) value for that point on the tooltip as well. Is this possible ? and if so how?
Any help is much appreciated..

Respuestas (1)

Walter Roberson
Walter Roberson el 5 de Nov. de 2020
I just confirmed that surf() do have the needed property.
  9 comentarios
Ali Shakeri
Ali Shakeri el 6 de Nov. de 2020
My workspace that stores all variables says map100 is a 360x512 uint8.
Walter Roberson
Walter Roberson el 6 de Nov. de 2020
Did you try my sample code? Did it work for you?

Iniciar sesión para comentar.

Categorías

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

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by