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++)
colors[i] = FI+i;
54 Double_t Red[3] = { 1.00, 0.50, 0.00};
55 Double_t Green[3] = { 0.50, 0.00, 1.00};
56 Double_t Blue[3] = { 1.00, 0.00, 0.50};
57 Double_t Length[3] = { 0.00, 0.50, 1.00 };
61 for (
int i=0; i<50; i++)
colors[i] = FI+i;
71 TF2 *f3 =
new TF2(
"f3",
"0.1+(1-(x-2)*(x-2))*(1-(y-2)*(y-2))",1,3,1,3);
79 f3->
Draw(
"surf1 same");
85 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.)
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.
virtual void Draw(Option_t *option="")
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=0, Float_t alpha=1.)
See TColor::SetPalette.