This macro generates RH2D and draw it with different options in RCanvas.
#include "ROOT/RFrameTitle.hxx"
{
for (
int n=0;
n<10000;
n++)
pHist->Fill({gRandom->Gaus(5.,2.), gRandom->Gaus(5.,2.)});
auto canvas = RCanvas::Create("RH2 drawing options");
auto subpads = canvas->Divide(2,3);
subpads[0][1]->Draw(
pHist)->Text().text.color = RColor::kBlue;
draw11->line.color = RColor::kRed;
canvas->SetSize(1000, 700);
canvas->Show();
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Objects used to configure the different axis types.
- Date
- 2020-06-25
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
- Author
- Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
Definition in file rh2.cxx.