필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

"Plotyy" for polar plots?

조회 수: 2 (최근 30일)
Jakob Sievers
Jakob Sievers 2012년 4월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello
Is it possible to do a polar plot with two (or more) outward axes for different datasets (much like plotyy for a regular cartesian plot)?
Thanks in advance

답변 (1개)

Walter Roberson
Walter Roberson 2012년 4월 7일
There is no built-in program for this.
polar() looks for an existing polar grid on the current axes and skips drawing the grid if it is there. plotyy() creates a second axes to draw in, so the grid would not be on that axes, so the grid would be fully plotted again, interfering with the appearance of the other grid.
In the past, I have picked apart how polar() works, and sometimes I even remember how ;-) I could probably come up with something not bad looking. Where, though, would you want the additional axes to be displayed? And should the angles be the same for both, or is one axes tilted relative to the other?
  댓글 수: 1
Jakob Sievers
Jakob Sievers 2012년 4월 7일
Wow, that would be really cool of you. I guess the placement of the extra axis is not a critical parameter, just as long as it is not parallel to the other one (would likely inspire much confusion) and it has a different color.
Cheers!

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by