simple plot in python axis lables code example Example: label axis matplotlib ax2.set_xlabel('time (s)')