title->
AddText(
"Examples of Surface options");
TPad *pad1 =
new TPad(
"pad1",
"Gouraud shading",0.03,0.50,0.98,0.95);
TPad *pad2 =
new TPad(
"pad2",
"Color mesh",0.03,0.02,0.98,0.48);
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.
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 Note that this histogram is managed ...
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.
void SetLogz(Int_t value=1) override
Set Lin/Log scale for Z.
void Update() override
Update pad.
void SetPhi(Double_t phi=30) override
void Modified(Bool_t flag=1) override
TVirtualPad * cd(Int_t subpadnumber=0) override
Set Current pad.
void Draw(Option_t *option="") override
Draw Pad in Current pad (re-parent pad if necessary).
void SetTheta(Double_t theta=30) override
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.