argopy.ArgoFloat.plot.scatter

argopy.ArgoFloat.plot.scatter#

ArgoFloat.plot.scatter(param, ds='prof', **kwargs) Any#

Scatter plot for a 2-dimensional dataset parameter

This method creates a 2D scatter plot with the argopy.plot.scatter_plot() method.

Parameters:
  • param (str) – Name of the dataset parameter to map.

  • ds (str, default='prof') – Argo dataset name to load the parameter to plot. Must be valid key from ArgoFloat.ls_dataset().

Returns:

Output from argopy.plot.scatter_plot(), typically:

Return type:

tuple

Examples

from argopy import ArgoFloat
af = ArgoFloat(wmo)
af.plot.scatter('TEMP')
af.plot.scatter('PSAL_QC')  # Appropriate colormap automatically selected
af.plot.scatter('PRES', x='PSAL', y='TEMP')
af.plot.scatter('DOXY', ds='Sprof')
af.plot.scatter('MEASUREMENT_CODE', ds='Rtraj')