Script
"Here's a script that does the histogram of the current scene or an image. You can select a RGB channel - adjust the display range or set the sample size to speed things up."