20void histpalettecolor()
27 auto h1 =
new TH1F (
"h1",
"Histogram drawn with full circles",100,-4,4);
28 auto h2 =
new TH1F (
"h2",
"Histogram drawn with full squares",100,-4,4);
29 auto h3 =
new TH1F (
"h3",
"Histogram drawn with full triangles up",100,-4,4);
30 auto h4 =
new TH1F (
"h4",
"Histogram drawn with full triangles down",100,-4,4);
31 auto h5 =
new TH1F (
"h5",
"Histogram drawn with empty circles",100,-4,4);
35 for (
Int_t i = 0; i < 25000; i++) {
51 h2->Draw(
"SAME PLC PMC");
52 h3->Draw(
"SAME PLC PMC");
53 h4->Draw(
"SAME PLC PMC");
54 h5->Draw(
"SAME PLC PMC");
R__EXTERN TStyle * gStyle
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
1-D histogram with a float per channel (see TH1 documentation)}
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
Random number generator class based on M.
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.
void SetOptTitle(Int_t tit=1)
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...