Weird behaviour since ROOT 6.18

Dear all,
I have a fitting code which produce a linearY scale plot just fine
but in logY scale things don’t make much sense
The funny thing is that in ROOT 6.16 all was working smoothly.
Did something has changed on RooCurve ?

Thanks in advance

_ROOT Version: 6.18
_Platform: (tested MacOS, Centos7-gcc8)

To add a reproducer:


If you run this macro in the tutorials and you take the plots produced and setLogY() you will see someething like this ( only for the FilledCurves ) .

TO add again ,
Adding VLines() to thee Drawing i get :

I don’t think this is expected.

I’ll check the rf example you pointed.

Just to add, if interactively I click thee plot before setting LogY, i get the plot correct. Is there a way to “emulate” a click in a macro?

Something looks wrong … let me check.

I managed to reproduce the effect with the following simple macro:

   TCanvas *C = new TCanvas("C", "C",0,45,800,800);
   Double_t X[5] = { -11.0, -10.5, -10.0, -9.5, -9.0, };
   Double_t Y[5] = { 0.0000, 0.0080, 0.0085, 0.0090, 0.0095, };
   TGraph *graph = new TGraph(5,X,Y);

Looking at it…

I found the problem. It is fixed in the ROOT master now.
Thanks to have seen it.

@couet, since the bug has been introduced by this commit, does it change something about the line clipping improvement introduced by this commit?

@pamputt :
Yes, I saw that commit was the culprit.
It is ok. I ran the macro provided in that commit.
The result is still good.

1 Like

Is there any workaround for ROOT 6.18 that can be used?
Thanks for finding the commit which was messing up the plot!
I would like to avoid dropping before the next release (we are using ROOT 6.18 on CVMFS for our analysis) the Filled Style plotting.

It will be in 6.18/04

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