How to rotate surface code

1 view (last 30 days)
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 Comment
Turlough Hughes
Turlough Hughes on 6 Dec 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?

Sign in to comment.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!