Lab to xy