199 static Int_t col0[99], col1[99], col2[99], col3[99];
200 static Bool_t initialized = kFALSE;
204 Double_t blu[3] = {1, 0.2, 0};
205 Double_t red[3] = {1, 0.2, 0};
206 Double_t grn[3] = {1, 0.2, 0};
207 Double_t stp[3] = {0, 0.5, 1};
209 Int_t FI = TColor::CreateGradientColorTable(3, stp, red, grn, blu, ncol);
210 for (
int i = 0;
i < ncol;
i++)
214 Double_t blu2[6] = {1, 1, 1, 0, 0, 0};
215 Double_t red2[6] = {1, 0, 0, 0, 1, 1};
216 Double_t grn2[6] = {1, 0, 1, 1, 1, 0};
217 Double_t stp2[6] = {0.0, 0.12, 0.34, 0.56, 0.78, 1.0};
219 Int_t FI = TColor::CreateGradientColorTable(6, stp2, red2, grn2, blu2, ncol);
220 for (
int i = 0;
i < ncol;
i++)
224 Double_t blu3[5] = {0, 0, 1, 0, 0};
225 Double_t red3[5] = {0, 1, 1, 0, 0};
226 Double_t grn3[5] = {0, 0, 1, 1, 0};
227 Double_t stp3[5] = {0., 0.25, 0.5, 0.75, 1.0};
229 Int_t FI = TColor::CreateGradientColorTable(5, stp3, red3, grn3, blu3, ncol);
230 for (
int i = 0;
i < ncol;
i++)
234 Double_t blu4[6] = {1, 0, 0, 0, 0.06, 0};
235 Double_t red4[6] = {1, 1, 1, 0.5, 0.55, 0};
236 Double_t grn4[6] = {1, 1, 0.5, 0.25, 0.10, 0};
237 Double_t stp4[6] = {0., 0.2, 0.4, 0.60, 0.75, 1.0};
239 Int_t FI = TColor::CreateGradientColorTable(6, stp4, red4, grn4, blu4, ncol);
240 for (
int i = 0;
i < ncol;
i++)
247 case 0: gStyle->SetPalette(ncol, col0);
break;
248 case 1: gStyle->SetPalette(ncol, col1);
break;
249 case 2: gStyle->SetPalette(ncol, col2);
break;
250 case 3: gStyle->SetPalette(56, 0);
break;