Plots the data points x and y into a new figure