SzymonStudent
Poland
1 Posts |
Posted - 11/25/2024 : 9:08:31 PM
|
OriginPro 2024b (64-bit) 10.1.5.132 (Student Version) Windows 10
Hi everyone,
I’m a student currently working on my engineering thesis, and I’ve been using OriginLab for data analysis and visualization. I’m trying to automate the process of creating Line+Symbol plots from multiple sheets in a workbook.
Here’s my scenario:
Each sheet is named sequentially as Sheet1, Sheet2, Sheet3, and so on. Each sheet contains data with X and Y columns. I’d like the script to iterate through all the sheets, check for the presence of data in the specified columns (e.g., X and Y in "Sheet1"), and generate individual plots for each sheet. Additionally, for each graph, I need to calculate the area under the curve within the wavelength range of 380-780 nm. Normally, this is done through the Gadgets -> Integrate feature in Origin. After performing the integration, I need the result (the "Area") to be saved to a new workbook for further analysis.
I also have a question about using metadata: Is it possible to read comments from the columns (e.g., from the "Comments" field) and use that information to customize or even determine what data is plotted? For example, could a script check the "Comments" field in a column and then generate the plot based on that metadata?
If anyone has ideas on how to automate both the plotting and integration processes or how to incorporate metadata into the workflow using LabTalk , I’d greatly appreciate your guidance!
Thank you so much for your help!
Best regards, |
Edited by - SzymonStudent on 11/25/2024 9:10:34 PM |
|