xyz2xy function

get x,y plot coordinates of ternary data