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