The Histogram Overlay block adds a histogram overlay onto your video stream. It will operate with both grayscale and RGB images as well as varying data types. It also allows you to specify the frame color to help make the plot more visible.
You can add this block to the Video and Image Processing Blockset™ library so that it is available with other Text and Graphics blocks.