Plotting 1D Histograms#

Diagnostic script that creates a 1D histogram plot for several datasets.

Description#

This script plots 1D histograms for each dataset provided in the input metadata. It uses precomputed histogram data from the preprocessor “histogram”.

Authors#

  • Lisa Bock (DLR)

Configuration parameters through recipe#

  • log_y: Boolean to set y-axis to logarithmic scale (default: False).

  • ylim: List of two floats to set y-axis limits (default: None).

  • suptitle: String for the figure’s title (default: None).

  • dpi: Integer for the resolution of the saved figure (default: 300).

  • xlabel: String for the x-axis label (default: None, which uses the variable name and units from the cube).

  • ylabel: String for the y-axis label (default: None).

  • plot_filename: String for the base name of the saved plot and data files (default: “histogram_diag”).