Since you can "show the numbers in a serial port" I assume you can see them on the serial monitor. In that event all you need is a proper terminal programme like RealTerm, which enables you to record the data to a file.
Another option is to use PLX-DAQ, which is an Excel macro. This sends the data to a live excel spreadsheet and also allows you to make a real-time graph.