在一些(相当小)使用polar=True
的数字中,ticklabels
与轴重叠。例如:偏轴matplotlib`ticklabels`从轴
import numpy as np
import matplotlib.pylab as pl
fig = pl.figure(figsize=[2,2])
fig.subplots_adjust(0.2, 0.2, 0.8, 0.8)
ax = pl.subplot(111, polar=True)
ax.set_yticks([])
创建:
是否有可能设置轴和标签之间,即偏移移动180
位到左侧,0
到右侧,等等?我更喜欢根据subplot
来设置它,因为我在其他subplots
在同一图中不需要ticklabel
抵消。
请参阅[添加填充/偏移到极坐标刻度标签](http://stackoverflow.com/questions/17159668/matplotlib-adding-padding-offset-to-polar-plots-tick-labels)。这回答了你的问题了吗? – nostradamus
是的,这完全回答了我的问题,没有看到那个。我投票结束我的问题作为一个重复... – Bart