Command plot

Plot a dataset and (optionally) a fit result.

Usage:

multifit plot CONFIG [LOG] [–color MAP [–import MODULE]] [–xlabel LABEL] [–ylabel LABEL] [–callnumber N] [–background INDEX] [–no-normalize]

Positional arguments:
CONFIG:

yaml configuration file.

LOG:

json log file generated by multifit fit.

Options:
-h, --help

Print this help screen and exit.

-x, --xlabel LABEL

Label on the x axis. [default: value]

-y, --ylabel LABEL

Label on the y axis. [default: counts per bin]

-c, --color MAP

Name of the colormap to use. [default: viridis]

-i, --import MODULE

Use a third party colormap from MODULE.

--no-normalize

Don’t nomralize the histogram.

Fit selection options (only relevant if LOG is provided):
--callnumber N

Number of the migrad iteration to plot. Starts at 1, supports reverse indexing. [default: -1]

-b, --background INDEX

Use this component of the model cdf as the background when plotting.

Copyright (C) 2026 Johannes Sørby Heines