void fitpanel() {
auto pHist = std::make_shared<RH1D>(xaxis);
pHist->Fill(1);
pHist->Fill(2);
pHist->Fill(2);
pHist->Fill(3);
auto canvas = RCanvas::Create("RCanvas with histogram");
canvas->Draw(pHist);
canvas->Show();
canvas->Update();
auto panel = std::make_shared<RFitPanel>("FitPanel Title");
panel->AssignCanvas(canvas);
panel->AssignHistogram(pHist);
canvas->AddPanel(panel);
canvas->ClearOnClose(panel);
}
Objects used to configure the different axis types.
- Date
- 2015-03-22
- Warning
- This is part of the experimental API, which might change in the future. Feedback is welcome!
- Author
- Axel Naumann axel@.nosp@m.cern.nosp@m..ch
Definition in file fitpanel.cxx.