Origin Version (Select Help-->About Origin): 7.5 R5 Operating System: XP
I import a series of data files, each as a seperate worksheet (let's say 25). I now have 25 worksheets with x-y data with in the first column and y in the second. How could I get Origin to generate a simple line curve on all 25 worksheets, so that I know have 25 sperate graphs. Furthermore, I'd like to tell origin to do a baseline fit and subtraction to each graph, and then integrate each graph. Finally, that integration algorithm supplies me with a peak y value for each of the 25 graphs which I'd like supplied to me for each graph. Thanks for any help you can supply!!
1> Look at batch.ogs script file in \Buttons subfolder of your Origin installation for an example of how to automate importing and analysis of multiple files - this file shows sample LabTalk script
2> Look at the following tool on File Exchange: http://www.originlab.com/FileExchange/details.aspx?C=5&cid=11&fid=86 This tool provides a mechanism for batch import and plotting. It uses the Import Wizard filter mechanism. A filter can contain script code that performs analysis on the imported data and so this could be one way to include the analysis as part of your importing process for each file. The analysis can then be a script segment or a call to an Origin C function, and can be added to the script on the very last page (past the filter saving page, once the "Advanced" check box is checked on the filter saving page)