find parameters representing x and y axes and also parameter Z