act.plotting.XSectionDisplay.plot_xsection_map#

XSectionDisplay.plot_xsection_map(field, dsname=None, subplot_index=(0,), coastlines=True, background=False, set_title=None, **kwargs)[source]#

Plots a cross section of 2D data on a geographical map.

Parameters:
  • field (str) – The name of the variable to plot.

  • dsname (str or None) – The name of the datastream to plot from.

  • subplot_index (tuple) – The index of the subplot to plot inside.

  • coastlines (bool) – Set to True to plot the coastlines.

  • background (bool) – Set to True to plot a stock image background.

  • set_title (str) – Title for the plot

  • **kwargs (keyword arguments) – Additional keyword arguments will be passed into act.plotting.XSectionDisplay.plot_xsection()

Returns:

ax (matplotlib axis handle) – The matplotlib axis handle corresponding to the plot.