xoa.core.plot#
Low level plotting routines
These routines work on numpy arrays and matplotlib axes, and know nothing about
xarray objects or meta specifications.
They are used by the high level plotting functions of the xoa.plot module.
Functions
|
Add a colorbar that is shrunk by default |
|
Add a compass to a map |
|
Add a black and white alternating frame to a map, like GMT does |
|
Add the land to a cartopy axes |
|
Add a background layer from a web map service to a cartopy axes |
|
Add a reference arrow, labelled with its value, above the left corner of the axes |
|
Add a scale bar to a map |
|
Get the ellipses that are described by 2x2 covariance matrices |
|
Former names of |
|
Create a decorated cartopy map |
|
Decorate a cartopy axes |
|
Get the definition of a background layer from the |
|
Get the projection of a map that suits its background layer |
|
Get the edges and centers of a grid for plotting, possibly under-sampled |
|
Get a cartopy projection from its name or alias |
|
Get a round reference value for a quiver key |
|
Get evenly spread indices from 0 to |
|
Get the longest round length that is not above a maximal length |
|
Get the quiver scale of sticks so that the strong ones span a fraction of the axes width |
|
Get the under-sampling strides along y and x |
|
Get the pixel coordinates of points on a web map at a zoom level |
Import cartopy lazily, with an explicit error message when it is missing |
|
|
Plot a box of longitudes and latitudes, like the one of |
|
Plot a circle of great circle distance, like the one of |
|
Plot a vertical section from arrays |
|
Plot the edges and centers of a grid |
|
Plot a polygon, like the one of |
|
Plot a rose of the frequencies of a direction and a value |
|
Plot vectors as sticks anchored at |
|
Plot points in a Taylor diagram |
|
Add uncertainty ellipses at the tip of the arrows of a quiver |
|
Plot vectors on a grid as arrows, possibly under-sampled |
|
Decorate a cartopy axes |
Classes
|
Ellipses at the tip of the arrows of a quiver |
|
A rose of frequencies on a polar axes |
|
A Taylor diagram on a polar axes |