void surfaces()
{
title->AddText("Examples of Surface options");
title->Draw();
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
virtual void SetContour(Int_t nlevels=20, const Double_t *levels=nullptr)
void Draw(Option_t *option="") override
Default Draw method for all objects.
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