Fitting of functions to 1 and 2-dimensional histograms

HistPresent supports two possibilities to fit functions to a 1-dim histogram: (2-dim see here)