data graphing

Hi all, I want to put into a excel graphic the encoder data (angular position) saved in a variable on my arduinoMega 2560, Is it possible ? how should I do it ?

It is best to do it with a Leonardo as that can directly imitate the keystrokes to enter it into Excel.

Otherwise send the data over serial to a processing application and have that save it in a comer separated variable form file CSV that Excel can read in.

http://www.arduino.cc/playground/Interfacing/GoBetwino ?