Plotting histogram with points and a fit only

Hallo, I have 8 histograms and I want to draw them all on one canvas. This is how I’ve tackled this so far, where plane is the histogram(s).


//plot with points only
Callplanespoints->cd();
    
plane[0]->Draw("p");
plane[0]->SetMarkerStyle(8);
plane[0]->SetMarkerColor(1);
//plane[0]->SetMarkerSize(1);
    
for (int i=1, j=1; i<9; i++)
{
	    j=j+1;
	    plane[i]->SetMarkerStyle(8);
	    plane[i]->SetMarkerColor(j);
	    //plane[i]->SetMarkerSize(2);
	    plane[i]->Draw("samep");
}

Now I’m having a couple of problems.

  1. I want to fit a line to each of the histograms (plane). I want a fit that rises and then plateaus out, can some1 advice me which fit is best?
  2. When I use the fit panel (eg a polynomial) the original histogram is drawn , no longer just poinst.

I’m actually trying to get a histogram like the one in the following example, is there an example I can see of how to do it?

Thankyou.