Make a graph plz help

ah forgot,
I made the size of the windows larger to make room for the values on the sides.
This however creates a problem when plotting your values, because they will now be shifted 50 to the top left.
this is fixable with

x = map(x,0,1000,25,1025); //and 
y = map(y,0,1000,25,1025); 

this will make 0, 25,
and 1000 1025.
you could also simply do

x + list[0] + 25;
y + list[1] + 25;

probably even easier…