Skip to content
Snippets Groups Projects
Commit fb889edf authored by Adrien Matta's avatar Adrien Matta :skull_crossbones:
Browse files

* Restauring NPToolStyle (style was broken on linux)

parent 201df44e
No related branches found
No related tags found
No related merge requests found
......@@ -10,38 +10,30 @@ void Style_nptool(){
style->SetTitlePS("nptool");
//General
/*style->SetFrameFillColor(kWhite);
style->SetFrameFillColor(kWhite);
style->SetFrameBorderMode(0);
style->SetFrameLineColor(kBlack);
style->SetStatColor(kWhite);
style->SetFrameLineColor(kWhite);
style->SetStatColor(kBlack);
style->SetTitleFillColor(kWhite);
style->SetTitleColor(kBlack,"pad");
style->SetTitleBorderSize(0);
style->SetTextColor(kBlack);*/
style->SetFrameFillColor(kWhite);
style->SetFrameBorderMode(0);
style->SetFrameLineColor(kBlack);
style->SetStatColor(kWhite);
style->SetFillColor(kWhite);
style->SetTitleFillColor(kWhite);
style->SetPaperSize(20,24);
style->SetTextColor(kBlack);
// Canvas
//style->SetCanvasPreferGL(true);
style->SetCanvasPreferGL(true);
style->SetCanvasColor(kWhite);
style->SetCanvasDefH(800);
style->SetCanvasDefW(800);
style->SetCanvasBorderMode(0);
// Pad
style->SetPadBottomMargin(0.15);
style->SetPadLeftMargin(0.15);
style->SetPadTopMargin(0.05);
style->SetPadRightMargin(0.10);
style->SetPadBottomMargin(0.10);
style->SetPadLeftMargin(0.10);
style->SetPadTopMargin(0.15);
style->SetPadRightMargin(0.15);
style->SetPadBorderMode(0);
style->SetPadBorderSize(1);
style->SetPadColor(kWhite);
style->SetPadColor(kWhite);
style->SetPadTickX(1);
style->SetPadTickY(1);
......@@ -51,27 +43,22 @@ void Style_nptool(){
style->SetOptFit(0);
// x axis
/*style->SetAxisColor(kBlack,"X");
style->SetAxisColor(kBlack,"X");
style->SetLabelColor(kBlack,"X");
style->SetTitleXSize(0.07);
style->SetTitleXSize(0.04);
style->SetTitleXOffset(1.0);
style->SetLabelOffset(0.1,"X"); */
//style->SetLabelSize(0.04,"X");
//style->SetLabelOffset(0.006,"X");
style->SetTitleXSize(0.07);
style->SetTitleXOffset(1.0);
style->SetLabelOffset(0.1,"X");
style->SetLabelSize(0.04,"X");
style->SetLabelOffset(0.006,"X");
style->SetLabelOffset(0.1,"X");
style->SetLabelSize(0.04,"X");
style->SetLabelOffset(0.004,"X");
// y axis
style->SetTitleYSize(0.07);
style->SetTitleYOffset(1.1);
style->SetTitleYSize(0.04);
style->SetTitleYOffset(1.1);
style->SetLabelOffset(0.1,"Y");
style->SetLabelSize(0.04,"Y");
style->SetLabelOffset(0.008,"Y");
//style->SetAxisColor(kBlack,"Y");
//style->SetLabelColor(kBlack,"Y");
style->SetLabelOffset(0.004,"Y");
style->SetAxisColor(kBlack,"Y");
style->SetLabelColor(kBlack,"Y");
// z axis
style->SetAxisColor(kBlack,"Z");
......@@ -81,14 +68,14 @@ void Style_nptool(){
// Histogramm
style->SetHistLineColor(kAzure+7);
// style->SetHistFillStyle(1001);
style->SetHistFillStyle(1001);
style->SetHistFillColor(kAzure+7);
// Graph, Line and Marker
style->SetMarkerStyle(20);
style->SetMarkerColor(kOrange+7);
style->SetLineColor(kOrange+7);
style->SetLineWidth(2);
style->SetLineWidth(1);
style->SetFuncColor(kOrange+7);
style->SetFuncWidth(2);
......@@ -103,3 +90,4 @@ void Style_nptool(){
TColor::CreateGradientColorTable(Number,Length,Red,Green,Blue,nb);
style->SetNumberContours(99);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment