How to rotate surface code

1 visualización (últimos 30 días)
Alejandro Fernández
Alejandro Fernández el 6 de Dic. de 2019
Comentada: Alejandro Fernández el 6 de Dic. de 2019
Hello, everybody.
I was wondering if anyone would know how to get past a 3D surface like the one I show below.
In something like what I show below using code, not like I did that was using the rotate3D option, because I tried using rotate but didn't get the right combination.
rotate(h,direction,alpha)
  1 comentario
Turlough Hughes
Turlough Hughes el 6 de Dic. de 2019
To clarify, are you looking to rotate your axes so you can view the results as per the above images or do you want to actually rotate the points themselves about the axes?

Iniciar sesión para comentar.

Respuesta aceptada

Turlough Hughes
Turlough Hughes el 6 de Dic. de 2019
Try the view function (documentation)
view(0,0)
  1 comentario
Alejandro Fernández
Alejandro Fernández el 6 de Dic. de 2019
Yes, thank you so much, i tried with the wrong function.

Iniciar sesión para comentar.

Más respuestas (0)

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!

Translated by