2 graphs on the same pad

Dear Rooters,

I would like to draw two graphs on the same pad. Namely, the first graph is the Monte Carlo generated data points with its fit result, and the second graph is the normalized residuals between fit and data points. Current version of the script draws two graphs on separate pads. Would it be possible to modify script and draw both graphs on the same pad?

Best wishes,
Victor Golovko.
23 October 2007
Au198_4.cxx (8.37 KB)

see in attachment the lines marked with “<====”
The solution is to superimpose a transparent pad.

Rene
Au198_4.cxx (8.53 KB)

Hi,
thanks a lot.
It is working!
Best, Victor.