Inset plot on same canvas

Hallo.

I would like to plot a histogram on a canvas, then in the corner (like an inset) display another histogram, for comparison purposes.

Now I remember once stumbling across something that addressed this issue, but i cant remember what it was. I’ve searched previous posts and looked at the tutorials, but I can’t seem to find it anymore.

Does anybody know what I’m referring to? Or do you know of a way to do this?

Thanks

Just create an other TPad at the position you want. Perfom a “cd()” on the TPad and plot the histogram you want in it (Draw()).

Ok, will try that thanks.