I superimposed a stack of histograms and a TGraph on the same plot with two different vertical axes. Now I want to zoom in into a particular x axis range and place it as an inset figure. I have seen many examples of an inset which is different from the actual main plot but none with the same situation as mine.
How can I create an inset of the same plot but zoomed into a certain x axis range?
Thank you,
Amin
_ROOT Version: 6.08/06
_Platform: Ubuntu 16.04 Compiler: Not Provided
Thank you for the reply. I should have given more info as this doesn’t exactly work for me.
I have a bunch of background histograms which I read from a separate ROOT file. I draw them (with no stack) and then draw the signal histogram on top (also read from a ROOT file). The structure of the code looks like this: