Note
Click here to download the full example code
Plotting Datetime Charts¶
Plotting datetime charts is handled by pygmt.Figure.basemap
.
import numpy as np
import pygmt
Date - Time Formats into fig.basemap¶
Explanation of supported formats.
numpy.datetime64
# Code
pandas.DatetimeIndex
# Code
xarray.DataArray
# Code
Raw date-time in ISO format
# Code
Python built-in: datetime.datetime
# Code
Python built-in: datetime.date
# Code
Passing Min/Max Time into region parameter using pygmt.info¶
Explanation of supported parameters + bug at #597.
# Code
Setting Primary and Secondary Time Axes¶
Explanation.
# Code
Total running time of the script: ( 0 minutes 0.001 seconds)