How to export the data from serial monitor?

Hello:
I'm using Arduino Uno, and pin AO and A1 reads some voltage level and print to the serial monitor.

i'm measuring the motor while current increases, so i need the current data to draw the graph.

the problem is how can i use these data. maybe export to an excel file or something.

thanks.

The easiest way is to write the data to the Serial Monitor in CSV format like this:

123, 456
122, 444
122, 434

etc.

Then simply copy the whole serial monitor window ^a ^c

And paste it into Excel (I use Open Office) but same principal. You have to tell it to use ',' as a delimiter and there you go, a nice set of data that you can chart to your hearts content.

Or use a proper serial terminal emulator that has the option to log to file built-in.