Changing labels in matplotlib polar plot

后端 未结 1 1724
遥遥无期
遥遥无期 2021-01-18 05:59

I am using matplotlib to create polar plots to represent Rose Diagrams. Right now the plot is getting created perfectly. I want to replace the angles being displayed on the

1条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-18 06:30

    Assuming that you have an axes object ax you can do simply do something like this

    ax.set_xticklabels(['N', '', 'W', '', 'S', '', 'E', ''])
    

    or get some inspiration by this old example

    0 讨论(0)
提交回复
热议问题