Display heart rate zones as a overlay in heart rate diagram

Is there a way to display the various heart rate zones as a filter over the heart rate diagram after a training session?

I then imagine horizontal divisions in different colors that show when you were in the different heart rate zones.

I am attaching a picture that illustrates what I mean.