matplotlib でサブプロットを使用しています。私のサブプロットはすべて同じ x 軸を持っているので、下のプロットの x 軸にのみラベルを付けたいと思います。1 つの軸だけから xtics を削除するにはどうすればよいですか?
			
			2785 次
		
2 に答える
            4        
        
		
ここで指摘されているように、次のように機能します。
plt.tick_params(\
    axis='x',          # changes apply to the x-axis
    which='both',      # both major and minor ticks are affected
    bottom='off',      # ticks along the bottom edge are off
    top='off',         # ticks along the top edge are off
    labelbottom='off') # labels along the bottom edge are off
    于 2014-07-16T15:21:40.030   に答える