I am making an upper limit plot with the following scripts. However, the plot shows a problematic feature as the “problematicPlot” one attached. A normal one should be like the “normalPlot” one, also attached. The normal one was generated by running the script but by modification later.
All of the script file, text files, and plots are compressed into one file.
Hi,
You need to start and end your TGraph with a the same point, otherwise is difficult to foreseen how to the Graph will be filled. So there are not overlapping region creating the white spots you are experiencing.
Moreover from the physics point of view the exclusion after a limit should be vertical and not diagonal.
Thanks for your suggestions.
Unfortunately, it doesn’t work as expected.
As an example, I just chanced the PandaX 2017 curve according to your idea of adding three points. The attached plot shows the change.
BTW, your suggestion on the Graph constructor should be a good one, but haven’t tried it yet. My code was sort of old-fashion thing.
I think I got it.
I checked your code and old code of mine where I did almost the same thing.
All the exclusion plot were line with standard width without 99 or -99 in front and no fill color.
Then I add another TMultiGraph where I added the neutrino floor and the total exclusion background.
For the total exclusion background I created an additional file following the exclusion profiles of the various experiments. Is a quite long procedure but in the ends it works.