python 2.6 - Changing labels in matplotlib polar plot -
i using matplotlib create polar plots represent rose diagrams. right plot getting created perfectly. want replace angles being displayed on axis direction names: n 0 degrees, w 90 degrees, s 180 degrees , e 270 degrees.
the current rose diagram looks following:
note: have tried windrose output more appropriate purpose. hence way of assigning custom labels axes helpful.
the python version using 2.6 matplotlib version 1.2.0
assuming have axes object ax
can this
ax.set_xticklabels(['n', '', 'w', '', 's', '', 'e', ''])
or inspiration this old example
Comments
Post a Comment