필터 지우기
필터 지우기

compass plot

조회 수: 5 (최근 30일)
nur
nur 2011년 10월 12일
편집: Miguel Gil Mast 2016년 3월 15일
i would like to know how to rotate the compass so that 0 value is on the top (y-axis).when im plotting compass 0 value is on the right(x-axis).i want to make 0 value on y-axis.

답변 (2개)

Grzegorz Knor
Grzegorz Knor 2011년 10월 12일
  댓글 수: 1
Miguel Gil Mast
Miguel Gil Mast 2016년 3월 15일
편집: Miguel Gil Mast 2016년 3월 15일
Adding to Grzegorz Knor's comment, I used the following to rotate my compass (see attached pictures)
view([+90 -90]);
This is what Bruce Raine's script does also only that he saves the inputs as az and el first

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


Bruce Raine
Bruce Raine 2012년 2월 8일
Try this code, the above code has the signs around the wrong way.
az = 90; % azimuth i.e. rotate around z-axis horizontally by 90 degrees
el = -90; % elevation negative, effectively looking beneath plot
view(az, el);

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by