smpl.plot

Simplified plotting.

Functions

auto(*adata[, funcs])

Automatically loop over functions and fit the best one.

data(*data[, function])

Plot datay against datax via fit()

data_split(datax, datay, **kwargs)

fit(func, *adata, **kwargs)

Fit and plot function to datax and datay.

function(func, *args, **kwargs)

Plot function func between xmin and xmax

get_fnc_legend(function, rfit, **kwargs)

init_plot(kwargs)

plot2d(*args, **kwargs)

plot2d_kwargs(*args, **kwargs)

plot_kwargs(kwargs)

Set default plot_kwargs() if not set.

plt_data(datax, datay, **kwargs)

Plot datay vs datax

plt_fit(datax, datay, gfunction, **kwargs)

Fit and Plot that Fit.

plt_fit_or_interpolate(datax, datay, fitted)

plt_interpolate(datax, datay[, icolor])

Interpolate and Plot that Interpolation.

plt_plt(x, y, fmt, color, label, linestyle, ...)

plt_residue(datax, datay, gfunction, rfit, ...)

save_plot(**kwargs)

save plot

set_plot_style()

show(**kwargs)