Filling color at the area between two graphs?


I have drawn two TGraph objects in the same TPad codes as:

TGraph *gr1=new TGraph(“gr1”,x,y1);
TGraph *gr2=new TGraph(“gr1”,x,y2);

Now I want to fill color between the graphs, I have consulted the ROOT manual,
but still don’t know how to do it?

Any ideas!

May be you will get some inspiration from the script in attachement

ray.C (1.18 KB)