How to show graph while detecting pulse

Perhaps you noticed that the Arduino was not what was displaying that graph. There are any number of ways that you can create an application on the PC that will read serial data and draw pretty pictures. All you need to do is write such an application, and make the Arduino send the necessary data to the serial port.

What do you consider necessary data for your pretty picture?