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=nullptr)
Set the number and values of contour levels.
void Draw(Option_t *option="") override
Draw this function with its current attributes.
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=true) override
Mark pad modified Will be repainted when TCanvas::Update() will be called next time.
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.
void Draw(Option_t *option="") override
Draw this pavetext with its current attributes.