aerosoltools.aerosol2d.Aerosol2D.plot_timeseries — aerosoltools 0.1.0 documentation

# aerosoltools.aerosol2d.Aerosol2D.plot_timeseries

Aerosol2D.plot_timeseries(y_tot=(0, 0), y_3d=(0, 0), log=True, ax1=None, ax2=None, mark_activities=False)

  Plot total concentration (top) and a size-resolved time series (bottom).

  ## Parameters

  y_tottuple, optional

    Y-axis limits for total concentration (min, max). Default auto.

  y_3dtuple, optional

    Colorbar scale limits for 2D mesh (min, max). Default auto.

  logbool, optional

    Whether to apply logarithmic color scaling. Default True.

  ax1matplotlib.axes.Axes, optional

    Axis for the top plot. If provided, ax2 must also be provided.

  ax2matplotlib.axes.Axes, optional

    Axis for the mesh plot. If provided, ax1 must also be provided.

  mark_activitiesbool or list of str, optional

    Passed to plot_total_conc() to highlight activity periods.

  ## Returns

  figmatplotlib.figure.Figure

    The figure object.

  axsnp.ndarray

    Array of axes and colorbar handle: [ax1, ax2, colorbar].