How to add a zoomed-in inset to a histogram on a canvas?

Hello,

I have several root files that each contain a single TCanvas, and each TCanvas contains a single TH1D histogram. I would like to somehow add an inset image to the canvas that shows a zoomed-in region of a subset of the histogram, and then save that new canvas (original histogram + inset) as an eps figure. I cannot figure out how to do this though. Has anyone done this previously?

Thank you.