cherab.phix.inversion.Lcurve.plot_L_curve#
- Lcurve.plot_L_curve(fig=None, axes=None, bounds=(-20.0, 2.0), n_beta=100, scatter_plot=None, scatter_annotate=True)Source#
Plotting the L curve in log-log scale.
- Parameters:
fig (Figure | None) – matplotlib figure object, by default None.
axes (Axes | None) – matplotlib Axes object, by default None.
bounds (tuple[float, float]) – bounds of log10 of regularization parameter, by default (-20.0, 2.0). This is not used if
lambdais not None.n_beta (int) – number of regularization parameters, by default 100. This is not used if
lambdais not None.scatter_plot (int | None) – whether or not to plot some L curve points, by default None. If you want to manually define the number of points, put in the numbers. e.g.)
scatter_plot=10.scatter_annotate (bool) – whether or not to annotate the scatter_points, by default True. This key argument is valid if only
scatter_plotis not None.
- Returns:
(fig, axes), each of which is matplotlib objects applied some properties.
- Return type: