Refined bycategory method and adjusted plotting for xoff=0 case