High resolution graphics - by Alex Schmah
These settings are by Alex Schmah:
// **************************** Set graphic style***************************************
gStyle->SetPalette(1);
gStyle->SetCanvasColor(10);
gStyle->SetFrameFillColor(10);
//gStyle->SetFillColor(4);
TGaxis::SetMaxDigits(4);
gStyle->SetPadTopMargin(0.15);
gStyle->SetPadBottomMargin(0.15);
gStyle->SetPadRightMargin(0.10);
gStyle->SetPadLeftMargin(0.15);
gStyle->SetLabelSize(0.05,"X");
gStyle->SetLabelSize(0.05,"Y");
gStyle->SetTitleSize(0.05,"X");
gStyle->SetTitleSize(0.05,"Y");
const Int_t NRGBs = 5;
const Int_t NCont = 255;
Double_t stops[NRGBs] = { 0.00, 0.34, 0.61, 0.84, 1.00 };
Double_t reds[NRGBs] = { 0.00, 0.00, 0.87, 1.00, 0.51 };
Double_t greens[NRGBs] = { 0.00, 0.81, 1.00, 0.20, 0.00 };
Double_t blues[NRGBs] = { 0.51, 1.00, 0.12, 0.00, 0.00 };
Int_t FI = TColor::CreateGradientColorTable(NRGBs, stops,reds,greens, blues, NCont);
gStyle->SetNumberContours(NCont);
// **************************************************************************************
- mstftsm's blog
- Login or register to post comments