Add base plot histogram function.