intercontour hist plotting added