Graphs overlay

I’m a new root user, so this question might be silly, but I couldn’t find an answer anywhere.
When I draw two graphs with a solid fill area in each that superpose each other, how can I control which one goes to the background and which one stays on top?
I know that it depends on the order that you draw your graphs, but is there a way to modify it after it has been drawn? My problem is that if I have a MultiGraph object and I’m drawing it, I can not control which curve stays on top unless I add the graphs to the multigraph in a specific order.



The graphs in a TMultiGraph are drawn in the order you pout them in.
You can retrieve the list of graphs using GetListOfGraphs see:

That will give you a TList which has some sorting methods. But that may not be helpful in you case.