17 TH2I *
h1 =
new TH2I(
"h1",
"GausXY", 20, -5, 5, 100, -5, 5);
18 TH2I *
h3 =
new TH2I(
"h3",
"GausXY", 100, -5, 5, 20, -5, 5);
20 for (
int j = 0;
j < 100000;
j++) {
35 h3->SetTitle(
"CandleY scaled");
36 h3->DrawCopy(
"candleY2");
49 h2->SetTitle(
"ViolinX unscaled");
50 h2->DrawCopy(
"ViolinX");
52 h4->SetTitle(
"ViolinY unscaled");
53 h4->DrawCopy(
"ViolinY");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TRandom * gRandom
static void SetScaledViolin(const Bool_t vScale=true)
Static function to set scaling between violin-withs.
static void SetScaledCandle(const Bool_t cScale=true)
Static function to set scaling between candles-withs.
void SetTitle(const char *title) override
Change/set the title.
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual TH1 * DrawCopy(Option_t *option="", const char *name_postfix="_copy") const
Copy this histogram and Draw in the current pad.
TObject * Clone(const char *newname="") const override
Make a complete copy of the underlying object.
2-D histogram with an int per channel (see TH1 documentation)
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...