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
positionlist

position for the timestamp

sizestring (optional)

text size

drawBoolean (optional)

call draw to make sure it appears

kwargskeywords

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()