23 grxy->SetMarkerStyle(21);
24 grxy->SetMarkerSize(0.5);
27 grin->SetMarkerStyle(5);
28 grin->SetMarkerSize(0.7);
30 grout->DrawClone(
"LP");
37 Double_t x[] = {1, 2, 3, 4, 5, 6, 6, 6, 8, 9, 10};
38 Double_t y[] = {1, 4, 9, 16, 25, 25, 36, 49, 64, 81, 100};
43 Double_t xout[] = {1.2, 1.7, 2.5, 3.2, 4.4, 5.2, 5.7, 6.5, 7.6, 8.3, 9.7, 10.4, 11.3, 13};
46 vC1 =
new TCanvas(
"vC1",
"square", 200, 10, 700, 700);
54 DrawSmooth(1,
"Approx: ties = mean",
"X-axis",
"Y-axis");
68 cout <<
"k= " << k <<
" vXout[k]= " <<
vXout <<
" vYout[k]= " <<
vYout << endl;
75 grout =
gs->Approx(
grin,
"constant", 50, 0, 0, 0, 1, 0.5,
"min");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
A helper class to smooth TGraph.
A TGraph is an object made of two arrays X and Y with npoints each.
1-D histogram with a float per channel (see TH1 documentation)