script for simplifying channel histogram display