scatter function (without repeating couples of variables)