Printing with png problems when using "same" draw

Hi,

I’m getting a very unusual problem when I try to print to png format.

It occurs when I try to read in two histograms and print them on the same TCanvas. If the second histogram drawn has a bin which overflows the vertical bounds of the first, then that bin is set to some very negative value. One example is the lowest bins of this plot:

Oddly, if I print the canvas to pdf format, I don’t seem to have this issue.

I’m using Root version 5.22. Will upgrading solve the problem?

Thanks!
Caleb[/img]

upgrade to 5.26

Rene