Please can someone fix this macro? it works but the top graph is cutted, so it can’t be seen the x-axis and the x-axis title.
thanks
distribuzioni-emmu.txt (259 Bytes)
distribuzioni-emmu.txt (273 Bytes)
hnenmumed.c (3.24 KB)
Please can someone fix this macro? it works but the top graph is cutted, so it can’t be seen the x-axis and the x-axis title.
thanks
distribuzioni-emmu.txt (259 Bytes)
distribuzioni-emmu.txt (273 Bytes)
hnenmumed.c (3.24 KB)
BTW:
you do not need
gROOT->ProcessLine(“gROOT->SetBatch()”);
just do:
gROOT->SetBatch()
Thanks couet, but unfortunatly the first graph is still cutted…
I know … but that was a general comment … all the 100 macros you recently sent had this mistake … that’s why I tell you …
// ...
TPad *pad1 = new TPad("pad1", "pad1", 0.0, 0.5, 1.0, 1.0);
// ...
TPad *pad2 = new TPad("pad2", "pad2", 0.0, 0.0, 1.0, 0.5);
// ...
sorry…I know I wrote a lot of topics…!
thanks for the advice…I found that code in some example or old topic here in the forum…I don’t remember…
[quote=“Pepe Le Pew”]// ...
TPad *pad1 = new TPad("pad1", "pad1", 0.0, 0.5, 1.0, 1.0);
// ...
TPad *pad2 = new TPad("pad2", "pad2", 0.0, 0.0, 1.0, 0.5);
// ...
[/quote]
Thanks pepe! now it’s perfect!