26#include "ROOT/RFrameTitle.hxx"
37 auto pHist = std::make_shared<RH3D>(xaxis, yaxis, zaxis);
39 for (
int n=0;
n<10000;
n++)
40 pHist->Fill({gRandom->Gaus(0.,2.), gRandom->Gaus(0.,2.), gRandom->Gaus(0.,2.)});
46 auto subpads = canvas->Divide(2,2);
49 subpads[0][0]->Draw<RFrameTitle>(
"Box(0) default draw option");
53 subpads[1][0]->Draw<RFrameTitle>(
"Sphere(1) draw option");
54 subpads[1][0]->Draw(pHist)->Sphere(1);
57 subpads[0][1]->Draw<RFrameTitle>(
"Color() draw option");
58 subpads[0][1]->Draw(pHist)->Color();
61 subpads[1][1]->Draw<RFrameTitle>(
"Scatter() draw option");
64 canvas->SetSize(1000, 700);
Drawing fill attributes for different objects.
Objects used to configure the different axis types.
static std::shared_ptr< RCanvas > Create(const std::string &title)
Create new canvas instance.
static R__DLLEXPORT constexpr RGB_t kBlack
static R__DLLEXPORT constexpr RGB_t kBlue