隐藏坐标轴标签

5 浏览
0 Comments

隐藏坐标轴标签

我试图在第一个子图(211)上隐藏坐标轴标签。

我想为整个图形添加标签,而不仅仅是一个子图(参考:"Isub事件特征")。

我如何控制字体属性,比如大小、字体和颜色?

f = Figure()
vdsvgsPlot = f.add_subplot(211)
vdsvgsPlot.plot(theLister()[3],theLister()[0])
vdsvgsPlot.plot(theLister()[3],theLister()[1])
isubPlot = f.add_subplot(212)
isubPlot.plot(theLister()[3],theLister()[2])
plotCanvas = FigureCanvasTkAgg(f, master)
toolbar = NavigationToolbar2TkAgg(plotCanvas, master)
plotCanvas.get_tk_widget().pack()

提前感谢您的帮助。

0