TH1 line width difference between root viewer and PDF

I’m writing some canvases to pdf but the line width in the final pdf is much thicker than in the root viewer. I don’t want to make the line thinner with SetLineWidth() if I don’t have to since that would make it difficult to see in the viewer. How can I make the pdf show exactly what the viewer does?
Viewer:

PDF:

Maybe @couet has an explanation for this

gStyle->SetLineScalePS(1); /// default is 3
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.