Plotting a scrolling Graph

which 1023 ? if i change it in the processing code there is no difference. even if I numbered it 50.
or is there another 1023 that i have to change ?