How to set one specific point on a 3-D surface ?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I calculate the minimum point on my surface consisting of the X, Y and Z axes. I want to show this calculated point on the Figure as well. I can select the point with the mouse, but it is quite difficult. How can I show this point in my figure?
0 comentarios
Respuestas (1)
KSSV
el 31 de Ag. de 2021
[X,Y,Z] = peaks(100) ;
[val,idx] = max(Z(:)) ;
surf(X,Y,Z) ;
shading interp
hold on
plot3(X(idx),Y(idx),Z(idx),'+r')
0 comentarios
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
