22 Double_t Red[3] = { 1.00, 0.00, 0.00};
23 Double_t Green[3] = { 0.00, 1.00, 0.00};
24 Double_t Blue[3] = { 1.00, 0.00, 1.00};
25 Double_t Length[3] = { 0.00, 0.50, 1.00 };
29 for (
int i=0; i<50; i++) colors[i] = FI+i;
38 static Int_t colors[50];
41 Double_t Red[3] = { 1.00, 0.50, 0.00};
42 Double_t Green[3] = { 0.50, 0.00, 1.00};
43 Double_t Blue[3] = { 1.00, 0.00, 0.50};
44 Double_t Length[3] = { 0.00, 0.50, 1.00 };
48 for (
int i=0; i<50; i++) colors[i] = FI+i;
58 TF2 *f3 =
new TF2(
"f3",
"0.1+(1-(x-2)*(x-2))*(1-(y-2)*(y-2))",1,3,1,3);
66 f3->
Draw(
"surf1 same");
72 f3->
Draw(
"surf1 same");
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void Draw(Option_t *option="")
Draw this function with its current attributes.
R__EXTERN TStyle * gStyle
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
A 2-Dim function with parameters.
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.
TExec is a utility class that can be used to execute a C++ command when some event happens in a pad...
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.)
Static function creating a color table with several connected linear gradients.
void SetPalette(Int_t ncolors=kBird, Int_t *colors=0, Float_t alpha=1.)
See TColor::SetPalette.