Home | News | Documentation | Download

Shading area between two graphs

I want to remove extra green color at x axis near 0 and on y axis at 40 in attached figure. How suggest suitable changes. Macro is also attached.

multigraph.C (1.2 KB)

ROOT Version: 6.14.06
Platform: Ubuntu

@couet can you please check here whenever you will have time? thanks!

Don’t draw with the cruve option (“C”), which tries to smooth the connections between points; try with line, i.e. “ALF” instead of “ACF” (to keep using curve, maybe you could add more -and very close- points at the corners so that the connecting line doesn’t bend noticeably). You may need to adjust the points of the graphs to hide the area you want.