Combine all histograph functions into one standard function