act.plotting.TimeSeriesDisplay.time_height_scatter

TimeSeriesDisplay.time_height_scatter(data_field=None, dsname=None, cmap='rainbow', alt_label=None, alt_field='alt', cb_label=None, **kwargs)[source]

Create a time series plot of altitude and data variable with color also indicating value with a color bar. The Color bar is positioned to serve both as the indicator of the color intensity and the second y-axis.

Parameters:
  • data_field (str) – Name of data field in the object to plot on second y-axis.

  • height_field (str) – Name of height field in the object to plot on first y-axis.

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

  • cmap (str) – Colorbar color map to use.

  • alt_label (str) – Altitude first y-axis label to use. If None, will try to use long_name and units.

  • alt_field (str) – Label for field in the object to plot on first y-axis.

  • cb_label (str) – Colorbar label to use. If not set will try to use long_name and units.

  • **kwargs (keyword arguments) – Any other keyword arguments that will be passed into TimeSeriesDisplay.plot module when the figure is made.