Skip to content

Plotting

All plotting object derive from the same class: BasePlot. Therefore, these classes all share the same public methods:

  • show: Show the figure in a new Figure.
  • save: Save the figure in a file (file suffix must be .png)
  • plot_to_axes: Add the figure to an already existing Axes instance.

Overview:

All the following plotting objects are defined in tracers.py.

Meshplot

Plot Data Density on a map.

MeshPlot

EvolutionProfile

Plot the Data Density profile over the time.

EvolutionProfile

TemperatureSalinityDiagram

Plot the Temperature-Salinity Diagram of the given data.

TemperatureSalinityDiagram

VariableBoxPlot

Plot the Box plots of a given variable for different water masses.

VariableBoxPlot

VariableHistogram

Plot the histograms of a given variable for different water masses.

VariableHistogram

WaterMassVariableComparison

Plot the values of variable vs pressure for all given water_masses.

WaterMassVariableComparison