14 title->
AddText(
"Examples of Surface options");
17 TPad *pad1 =
new TPad(
"pad1",
"Gouraud shading",0.03,0.50,0.98,0.95);
18 TPad *pad2 =
new TPad(
"pad2",
"Color mesh",0.03,0.02,0.98,0.48);
23 TF2 *f2 =
new TF2(
"f2",
"x**2 + y**2 - x**3 -8*x*y**4",-1,1.2,-1.5,1.5);
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual TH1 * GetHistogram() const
Return a pointer to the histogram used to visualise the function.
A 2-Dim function with parameters.
virtual void SetContour(Int_t nlevels=20, const Double_t *levels=0)
Set the number and values of contour levels.
virtual void Draw(Option_t *option="")
Draw this function with its current attributes.
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
The most important graphics class in the ROOT system.
virtual void SetTheta(Double_t theta=30)
void Modified(Bool_t flag=1)
virtual void Update()
Update pad.
virtual void Draw(Option_t *option="")
Draw Pad in Current pad (re-parent pad if necessary).
virtual void SetLogz(Int_t value=1)
Set Lin/Log scale for Z.
TVirtualPad * cd(Int_t subpadnumber=0)
Set Current pad.
virtual void SetPhi(Double_t phi=30)
A Pave (see TPave) with text, lines or/and boxes inside.
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 Draw(Option_t *option="")
Draw this pavetext with its current attributes.