Reverse radial axes of Matplotlib polar plot

后端 未结 2 1102
情歌与酒
情歌与酒 2020-12-11 18:35

I\'m trying to create an astronomical polar plot with a radial axis that starts from -45° on outer line and increases to 90° in the center of the plot. But I didn\'t find an

2条回答
  •  隐瞒了意图╮
    2020-12-11 19:14

    Old question, but I finally found an easy answer. Use ax.set_rlim(bottom=90, top=-45). Note that you have to set this BEFORE calling ax.plot(), or it will not transform the plotted points accordingly.

提交回复
热议问题