simple graph plotting

I have eeg signal- at sampling frequency 256 Hz and 16 bit. This is stored in classic asc file as numbers.so let these nubers are loaded in variable X.I want to plot these samples as graph or line and in real time-so after 1 second,the graph will be regenerated. I use devcpp and win xp,can you help me,please? I plotted some curve,but problem was for me to continue in plotting after first one second graph(256 samples).I think I used glTranslate…thank for any advice.

I would redraw the entire graph on each update. You just use a larger array for your data and do the exact same thing as the previous frame.