How to rotate surface code

1 vue (au cours des 30 derniers jours)
Alejandro Fernández
Alejandro Fernández le 6 Déc 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 commentaire
Turlough Hughes
Turlough Hughes le 6 Déc 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?

Connectez-vous pour commenter.

Réponse acceptée

Turlough Hughes
Turlough Hughes le 6 Déc 2019
Try the view function (documentation)
view(0,0)
  1 commentaire
Alejandro Fernández
Alejandro Fernández le 6 Déc 2019
Yes, thank you so much, i tried with the wrong function.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by