new function scattergram