30 ::Error(
"transp",
"failed to create new custom colors");
45 Warning(
"transp",
"You can see the transparency ONLY in a pdf or png output (\"File\"->\"Save As\" ->...)\n"
46 "To have transparency in a canvas graphics, you need MacOSX version with cocoa enabled");
49 TH1F *
const hist =
new TH1F(
"a5",
"b5", 10, -2., 3.);
52 hist2->FillRandom(
"gaus", 100000);
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.
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
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])