35 Double_t Red[3] = {1.00, 0.00, 0.00};
36 Double_t Green[3] = {0.00, 1.00, 0.00};
37 Double_t Blue[3] = {1.00, 0.00, 1.00};
38 Double_t Length[3] = {0.00, 0.50, 1.00};
42 for (
int i = 0; i < 50; i++)
55 Double_t Red[3] = {1.00, 0.50, 0.00};
56 Double_t Green[3] = {0.50, 0.00, 1.00};
57 Double_t Blue[3] = {1.00, 0.00, 0.50};
58 Double_t Length[3] = {0.00, 0.50, 1.00};
62 for (
int i = 0; i < 50; i++)
74 TF2 *f3 =
new TF2(
"f3",
"0.1+(1-(x-2)*(x-2))*(1-(y-2)*(y-2))", 1, 3, 1, 3);
82 f3->
Draw(
"surf1 same");
88 f3->
Draw(
"surf1 same");
R__EXTERN TStyle * gStyle
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
static Int_t CreateGradientColorTable(UInt_t Number, Double_t *Stops, Double_t *Red, Double_t *Green, Double_t *Blue, UInt_t NColors, Float_t alpha=1., Bool_t setPalette=kTRUE)
Static function creating a color table with several connected linear gradients.
TExec is a utility class that can be used to execute a C++ command when some event happens in a pad.
A 2-Dim function with parameters.
void Draw(Option_t *option="") override
Draw this function with its current attributes.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
void SetPalette(Int_t ncolors=kBird, Int_t *colors=nullptr, Float_t alpha=1.)
See TColor::SetPalette.