16 const char *month[nx] = {
"January",
"February",
"March",
"April",
17 "May",
"June",
"July",
"August",
"September",
"October",
18 "November",
"December"};
19 const char *people[ny] = {
"Jean",
"Pierre",
"Marie",
"Odile",
20 "Sebastien",
"Fons",
"Rene",
"Nicolas",
"Xavier",
"Greg",
21 "Bjarne",
"Anton",
"Otto",
"Eddy",
"Peter",
"Pasha",
22 "Philippe",
"Suzanne",
"Jeff",
"Valery"};
28 TH2F *
h =
new TH2F(
"h",
"test",nx,0,nx,ny,0,ny);
29 for (i=0;i<5000;i++) {
41 pt->
AddText(
"Use the axis Context Menu LabelsOption");
42 pt->
AddText(
" \"a\" to sort by alphabetic order");
43 pt->
AddText(
" \">\" to sort by decreasing values");
44 pt->
AddText(
" \"<\" to sort by increasing values");
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
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...
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
virtual void SetGrid(Int_t valuex=1, Int_t valuey=1)
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetBottomMargin(Float_t bottommargin)
Set Pad bottom margin in fraction of the pad height.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
2-D histogram with a float per channel (see TH1 documentation)}
R__EXTERN TRandom * gRandom
A Pave (see TPave) with text, lines or/and boxes inside.
virtual void SetBinLabel(Int_t bin, const char *label)
Set label for bin.
Int_t Fill(Double_t)
Invalid Fill method.
THist< 2, float, THistStatContent, THistStatUncertainty > TH2F
virtual void SetStats(Bool_t stats=kTRUE)
Set statistics option on/off.
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...
virtual void SetLeftMargin(Float_t leftmargin)
Set Pad left margin in fraction of the pad width.