spacepy.plot.timestamp

spacepy.plot.timestamp(position=(1.003, 0.01), size='xx-small', draw=True, strnow=None, rotation='vertical', ax=None, **kwargs)[source]

print a timestamp on the current plot, vertical lower right

Parameters:

position : list

position for the timestamp

size : string (optional)

text size

draw : Boolean (optional)

call draw to make sure it appears

kwargs : keywords

other keywords to axis.annotate

Examples

>>> import spacepy.plot.utils
>>> from pylab import plot, arange
>>> plot(arange(11))
[<matplotlib.lines.Line2D object at 0x49072b0>]
>>> spacepy.plot.utils.timestamp()