Hi,
I’m trying to make the plot show at http://root.cern.ch/root/html534/THistPainter.html#HP140, by copying the script shown for the candle plot, but the result I get looks nothing like the plot show at the URL. Specifically, these are the commands I use
TH2F *hcandle = new TH2F("hcandle","Option CANDLE example ",40,-4,4,40,-20,20);
Float_t px, py;
for (Int_t i = 0; i < 25000; i++) {
gRandom->Rannor(px,py);
hcandle->Fill(px,5*py);
}
hcandle->SetMarkerSize(0.5);
hcandle->Draw("CANDLE");
This is the candle plot I produce:
What’s going wrong?