xoa.core.plot.plot_circle#
- xoa.core.plot.plot_circle(ax, lon, lat, radius, transform=None, npts=180, **kwargs)[source]#
Plot a circle of great circle distance, like the one of
get_geosel()- Parameters:
ax (matplotlib.axes.Axes)
lon (float) – Position of the center in degrees
lat (float) – Position of the center in degrees
radius (float) – Radius in meters
transform (None, cartopy.crs.CRS) – Coordinate system of the positions, which defaults to plate carrée for a map
npts (int) – Number of points of the outline
kwargs – Extra parameters are passed to
matplotlib.patches.Polygon. The circle is an outline by default.
- Returns:
matplotlib.patches.Polygon