Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

"Plotyy" for polar plots?

2 visualizzazioni (ultimi 30 giorni)
Jakob Sievers
Jakob Sievers il 7 Apr 2012
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (1)

Walter Roberson
Walter Roberson il 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 Commento
Jakob Sievers
Jakob Sievers il 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!

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by