Home | News | Documentation | Download

RooFit plotting bug when plotting multiple filled PDFs using AddTo()

I’m trying to draw stacked, filled, fit output using RooFit, but the result of AddTo does not fully fill the area under the curve. The issue is described in detail here:


where @ganis kindly suggested a workaround (re-drawing the lower of the two PDFs on its own to fill in the gap).

The proposed workaround only works if you have a single PDF underneath which can be re-drawn. I’m now trying to stack three, filled, PDFs so it’s impossible to “fill in” the gap using the stack of two underneath the third.

Has this bug been investigated further? I’m using

Blockquote
ROOT Version: 6.16/00
Built for linuxx8664gcc on Jan 23 2019, 09:06:13
From tags/v6-16-00@v6-16-00

Hello,

the progress on this is tracked here:
https://sft.its.cern.ch/jira/browse/ROOT-8932

It’s been taken care of today, and the fix should arrive tomorrow in ROOT’s nightly version:
https://root.cern/nightlies

It would be nice if you could test with your setup.

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