Hi
It's me one more time ...
Does anybody see what's wrong in my script? I've attached the final plot as an .png file for clarity. I expected the plot to show a uniform label font, but in the upper insert you see a non-uniform labelling, why? And why do I get a bigger '1xe4'? Why do I get it at all?
I think getting an answer on these question would help me a lot. Perhaps a pointer on the tutorial is already sufficient, but I didn't answers there. I'm sorry if I overlooked something.
TIA
Christian
Here's the relevant part of my script:
pylab.title('Beam intensity dependence of the ES slit position', fontproperties=font)
pylab.plot(position_data,intensity_data,'k-')
pylab.xlabel('shift [}\mu\rm{m] from closure', fontproperties=font)
pylab.ylabel('intensity [counts/min]', fontproperties=font)
pylab.xticks(fontproperties=font)
pylab.yticks(fontproperties=font)
#plotting peak broadness
a = pylab.axes([.65,.6,.2,.2])
pylab.plot(position_data,sigmas,'k-')
a.set_xlim(position_data[0],position_data[-1])
pylab.title('Peak broadness', fontproperties=font)
pylab.xlabel(r'$\rm{shift [}\mu\rm{m] from closure}$', fontproperties=font)
pylab.ylabel(r'$\sigma \rm{ [channels]}$', fontproperties=font)
for labelx, labely in zip(a.get_xticklabels(),a.get_yticklabels()):
labelx.set_fontproperties(font)
labely.set_fontproperties(font)
#plotting peak centers
b = pylab.axes([.65,.2,.2,.2])
pylab.plot(position_data,mus,'k-')
b.set_xlim(position_data[0],position_data[-1])
pylab.title('Peak center position', fontproperties=font)
pylab.ylabel(r'$\rm{beam center [channels]}$', fontproperties=font)
pylab.xlabel(r'$\rm{shift [}\mu\rm{m] from closure}$', fontproperties=font)
for labelx, labely in zip(b.get_xticklabels(),b.get_yticklabels()):
labelx.set_fontproperties(font)
labely.set_fontproperties(font)
pylab.savefig("ES_calibration.%s" % plot_format)