Dear ROOT users,
I am in need of guidance in how to use the SetBorderSize function properly. In my rootlogon file I start out with setting the style to “Plain” and then requesting gStyle->SetBorderSize(0), see rootlogon.C attachment. When saving the canvas to ps/eps/pdf there is still a border around the title of the histogram but for png it is not. If instead of “Plain” I go with the “Default” style, the border is gone in ps/eps/pdf as well – see TitleBorder.cpp attachment.
Could someone please explain to me why this is happening or if I am doing something wrong? Right now I always need to find the “title” object and set the border color to white in order for it not to be visible – I was hoping to use the rootlogon file to not have to do this though.
Sincerely,
Bertrand
TitleBorder.cpp (563 Bytes)
rootlogon.C (1.75 KB)