basic inteface for scatterplot