script to graph recorded eeg data