how to label plot in matplotlib code example Example: label axis matplotlib ax2.set_xlabel('time (s)')