在一些(相當小)使用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