This page demonstrates Python tips and tricks that I use in my everyday programming as an atmospheric science graduate student.
-Brian Blaylock

Tuesday, August 12, 2014

Symbols in labels

To put a symbol or label, such as a degree sign.

pl.xlabel('Temperature ($^{\circ}\!$ C)')

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.