最佳答案
I want to label my x axis at follows :
pylab.xlabel('metres 10^1')
But I don't want to have the ^ symbol included .
pylab.xlabel('metres 10$^{one}$')
This method works and will superscript letters but doesn't seem to work for numbers . If I try :
pylab.xlabel('metres 10$^1$')
It superscripts a letter N for some reason .
Anyone know how to superscript numbers in python plots ? thanks .