37 TCanvas *c1 =
new TCanvas(
"c1",
"Histogram Drawing Options",200,10,700,900);
39 "The pad with the function",0.03,0.62,0.50,0.92,21);
41 "The pad with the histogram",0.51,0.62,0.98,0.92,21);
43 "The pad with the histogram",0.03,0.02,0.97,0.57,21);
50 "Drawing options for one dimensional histograms");
72 "Click on lego to rotate");
95 pave->
AddText(
"Title and Stats pads");
97 pave->
AddText(
"You can modify bin contents");
virtual void SetGridx(Int_t value=1)
virtual void ls(Option_t *option="") const
List file contents.
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
TString & ReplaceAll(const TString &s1, const TString &s2)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
virtual TObject * Get(const char *namecycle)
Return pointer to object identified by namecycle.
Int_t GetBench(const char *name) const
Returns index of Benchmark name.
virtual const char * UnixPathName(const char *unixpathname)
Convert from a Unix pathname to a local pathname.
const char * Data() const
virtual void SetTextFont(Font_t tfont=62)
TVirtualPad * cd(Int_t subpadnumber=0)
Set Current pad.
TFrame * GetFrame()
Get frame.
Base class for several text objects.
virtual TH1 * DrawCopy(Option_t *option="", const char *name_postfix="_copy") const
Copy this histogram and Draw in the current pad.
virtual void Draw(Option_t *option="")
Draw Pad in Current pad (re-parent pad if necessary).
A Pave (see TPave) with a text centered in the Pave.
R__EXTERN TSystem * gSystem
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void SetFillColor(Color_t fcolor)
R__EXTERN TBenchmark * gBenchmark
The most important graphics class in the ROOT system.
virtual void SetMarkerStyle(Style_t mstyle=1)
A Pave (see TPave) with text, lines or/and boxes inside.
virtual void Draw(Option_t *option="")
Draw this pavelabel with its current attributes.
virtual void SetGridy(Int_t value=1)
virtual void SetTextColor(Color_t tcolor=1)
virtual void SetTextSize(Float_t tsize=1)
virtual void Update()
Update canvas pad buffers.