Convert the plot figure to the data points