How to rotate surface code

조회 수: 1 (최근 30일)
Alejandro Fernández
Alejandro Fernández 2019년 12월 6일
댓글: Alejandro Fernández 2019년 12월 6일
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
Turlough Hughes
Turlough Hughes 2019년 12월 6일
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?

댓글을 달려면 로그인하십시오.

채택된 답변

Turlough Hughes
Turlough Hughes 2019년 12월 6일
Try the view function (documentation)
view(0,0)
  댓글 수: 1
Alejandro Fernández
Alejandro Fernández 2019년 12월 6일
Yes, thank you so much, i tried with the wrong function.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by