In scientific notation it is more proper to express fractional units with superscipts like ms^-1 instead of m/s. To do this in labels in python's Matplotlib there is some special formating you need to do...
plt.ylabel(r'Wind Speed (ms$\mathregular{^{-1}}$)')
this will print "Wind Speed (ms^-1)" with the -1 as a superscript on the ylabel. The \mathregular expression makes the font not a fancy italic font. See here: http://stackoverflow.com/questions/21226868/superscript-in-python-plots
Oh my goodness I was looking all over for this! Thank you so much!
ReplyDelete