Visualization
Color routines
The routines below provides access to predefined (Matplotlib) or self-produced colors and color maps.
|
Function to retrieve colormap, either customized (custom=True) or available through Matplotlib predefined colormaps. |
|
Function to retrieve single custom color. |
|
In addition to min and max of levels, this function takes as arguments boundaries between which data is to be mapped. |
Graphic routines
Functions for different plots such as scatterplots and mapplots,initiation and configuration of figure objects etc
|
Setting up a figure object |
Set up the plot axes using mpl_toolkits.axes_grid1.ImageGrid Used primarily when plotting maps or for image analysis For more information on available settings: https://doc.ebichu.cc/matplotlib/mpl_toolkits/axes_grid1/overview.html |
|
|
Return number of rows and columns from a given total number of panels for a grid |
|
Set up the plot axes using pyplot.subplots |
|
Configuration of axes; titles and labels |
|
Settings for map plot axes |
|
Create a scatter plot |
|
Create a raster plot |
|
Create a line plot |
|
Create a box plot |
|
Creates a list of matplotlib Patch objects that can be passed to the legend(...) function to create a custom legend. |
|
Create contour levels based on min and max of input data |
|
Create a Cartopy crs object to be used in the overlaying of 2d plots. |
|
Producing map plots |
|
Producing a map plot |
|
Add colobar to map plot |