24#include "ROOT/RFrameTitle.hxx"
39 for (
int n=0;
n<10000;
n++)
40 pHist->Fill({gRandom->Gaus(5.,2.), gRandom->Gaus(5.,2.)});
43 auto canvas = RCanvas::Create(
"RH2 with color palette");
45 auto frame = canvas->AddFrame();
48 frame->margins.right = 0.2
_normal;
66 auto title = canvas->Draw<
RFrameTitle>(
"2D histogram with color palette");
84 stat->fill.style = RAttrFill::kSolid;
86 canvas->SetSize(1000, 700);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
RAttrValue< RColor > color
! fill color
Objects used to configure the different axis types.
A color palette draw near the frame.
RAttrFill fill
! fill attributes