Error merging histograms with "similar" x range

The trick I’ve shown redefines “xmin” and “xmax”, leaving the number of bins unchanged, so it “scales” the x-axis of the histogram.

If you now want to say that x=1000 in the second histogram directly corresponds to x=100 in the first one, then you can use this trick.