refactor eyeplots