Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

"Plotyy" for polar plots?

2 views (last 30 days)
Jakob Sievers
Jakob Sievers on 7 Apr 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (1)

Walter Roberson
Walter Roberson on 7 Apr 2012
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 Comment
Jakob Sievers
Jakob Sievers on 7 Apr 2012
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!

This question is closed.

Community Treasure Hunt

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

Start Hunting!