Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

"Plotyy" for polar plots?

2 vues (au cours des 30 derniers jours)
Jakob Sievers
Jakob Sievers le 7 Avr 2012
Clôturé : MATLAB Answer Bot le 20 Août 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

Réponses (1)

Walter Roberson
Walter Roberson le 7 Avr 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 commentaire
Jakob Sievers
Jakob Sievers le 7 Avr 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!

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by