On Tuesday, April 5, 2016 at 8:16:22 AM UTC+8, Muhammad Ali wrote: > On Sunday, April 3, 2016 at 2:35:58 PM UTC-7, Oscar Benjamin wrote: > > On 3 Apr 2016 22:21, "Muhammad Ali" <muhammadaliask...@gmail.com> wrote: > > > > > > How do I convert/change/modify python script so that my data could be > > extracted according to python script and at the end it generates another > > single extracted data file instead of displaying/showing some graph? So > > that, I can manually plot the newly generated file (after data extraction) > > by some other software like origin. > > > > It depends what you're computing and what format origin expects the data to > > be in. Presumably it can use CSV files so take a look at the CSV module > > which can write these. > > > > (You'll get better answers to a question like this if you show us some code > > and ask a specific question about how to change it.) > > > > -- > > Oscar > > Yes, it is complete script and it works well with matplotlib.
But I have to modify it to extract data into a single .dat file instead of directly plotting it by using matplotlib. I want to plot the data file in some other software. -- https://mail.python.org/mailman/listinfo/python-list