new functions for plottinh Htrees