请告诉我如何在图表上放置图片并设置其位置,谢谢!我正在使用 pylab
pylab.title(filename+' IP=539.1')
pylab.plot(Omega,Sigmatot,color="black",linewidth=0.5) #Plots the real part of the spectrum as a blue curve
#pylab.plot(exen[0],tdm[0],color="red",linewidth=10)
#pylab.ylim(0.0,0.08)
pylab.vlines(exen, tdm,0,linewidth=0.1, color="red", label='Trans. dip. moment [a.u.]')
pylab.xlim(534,539)
pylab.legend()
#pylab.show()
#pylab.savefig(folder + figname) #Saves your figure output
pylab.xlabel('Photon Energy (eV)')
pylab.ylabel('Intensity')