30      ::Error(
"grad", 
"failed to create new custom colors");
 
   35   TCanvas * 
const cnv = 
new TCanvas(
"gradient demo 1", 
"gradient demo 1", 100, 100, 600, 600);
 
   38      ::Error(
"grad", 
"This macro works only on MacOS X with --enable-cocoa");
 
   66      gradFill1->SetStartEnd(Point(0., 0.), Point(1., 0.));
 
   79      gradFill2->SetStartEnd(Point(0., 0.), Point(0., 1.));
 
   92      gradFill3->SetStartEnd(Point(0., 0.), Point(0., 1.));
 
   98   TH1F * 
const hist = 
new TH1F(
"a1", 
"b1", 20, -3., 3.);
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
The color creation and management class.
1-D histogram with a float per channel (see TH1 documentation)
virtual void FillRandom(const char *fname, Int_t ntimes=5000, TRandom *rng=nullptr)
Fill histogram following distribution in function fname.
void Draw(Option_t *option="") override
Draw this histogram with options.
unsigned FindFreeCustomColorIndices(Color_t(&indices)[N])