arpes.plotting.parameter.plot_parameter#
- arpes.plotting.parameter.plot_parameter(fit_data, param_name, ax=None, shift=0, x_shift=0, *, two_sigma=False, figsize=(7, 5), **kwargs)[source]#
Creates a scatter plot of a parameter from a broadcast_fit result.
- Parameters:
fit_data (xr.DataArray) – The fitting result, typically from broadcast_fit.results.
param_name (str) – The name of the parameter to plot.
ax (Axes, optional) – The axes on which to plot. If not provided, a new set of axes will be created.
shift (float, optional) – A vertical shift for the plot. Default is 0.
x_shift (float, optional) – A horizontal shift for the x-values. Default is 0.
two_sigma (bool, optional) – If True, plots the error bars as two standard deviations. Default is False.
figsize (tuple[float, float], optional) – The size of the figure. Default is (7, 5).
kwargs – Additional keyword arguments for the plot (e.g., color, markersize, etc.).
- Returns:
The Axes object with the plot.
- Return type:
Axes