Import Txt file to OxyPlot

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

loreleon wrote at 2014-02-06 20:06:

Hello.

I'm new at this.

I have one txt file, this was export from GnuPlot. This contains the (X,Y) points, I want import this file to Oxyplot. Someone knows how to do it?

Thank you so much!!

everytimer wrote at 2014-02-06 23:24:

This is not OxyPlot specific question.

Oxyplot accepts lists of DataPoint, so it is your job to read the file and store the data in your arrays/lists.

There are plenty of examples plotting data, and several of them read an external file.

Good luck