Hi,
I’m trying to superimpose 2 graphs and having some problems. I’ve already done it before, but with different draw options. Now, the first is “AP” and the second, “a3” (the error bars are shown as a band). The problem is: only one graph is drawn, and not both at the same time… My goal is to do something like the picture.

I’ve tried, but without sucess
Could you please post the script you tried?
It’s difficult to help without knowing what you have done so far
“A” means “create new axes” so, the second graph should not have this option.
Hi,
Here’s the script I’m using:
evolution.cpp (1.2 KB)
Hi @Pedro_Rossini. Just change the order:
Do:
mg->Add(gr2,"a3");
mg->Add(gr,"AP");
Instead of:
mg->Add(gr,"AP");
mg->Add(gr2,"a3");
You were hiding gr behind gr2;