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 SetLineWidth(Width_t lwidth)
Set the line width.
virtual void Draw(Option_t *option="")
Draw this function with its current attributes.
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
virtual void SetTheta(Double_t theta=30)
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 Update()
Update pad.
TVirtualPad * cd(Int_t subpadnumber=0)
Set Current pad.
virtual void Draw(Option_t *option="")
Draw Pad in Current pad (re-parent pad if necessary).
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
The most important graphics class in the ROOT system.
virtual void SetPhi(Double_t phi=30)
A 2-Dim function with parameters.
A Pave (see TPave) with text, lines or/and boxes inside.
virtual void SetContour(Int_t nlevels=20, const Double_t *levels=0)
Set the number and values of contour levels.
double f2(const double *x)
virtual TH1 * GetHistogram() const
Return a pointer to the histogram used to visualise the function.
virtual void SetLogz(Int_t value=1)
Set Lin/Log scale for Z.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
void Modified(Bool_t flag=1)