added legend. added partition boundary breaks in range axis.