T O P I C R E V I E W |
sam132 |
Posted - 02/24/2021 : 07:03:36 AM Origin Ver. and Service Release (Select Help-->About Origin): Origin 2018 Operating System: Win 10
I have a data file where I need to import certain columns and plot those data in a certain format. I have to do this activity every now and then so I wanted to have a certain 'ogwu' file that can do this work seamlessly.
In Origin 2019, I know you can add a graph to the worksheet and then save the worksheet as an Analysis template. This used to do the job. But presently I am using Origin 2018, I would like to know how it can be done in this version.
Thanks in advance. |
3 L A T E S T R E P L I E S (Newest First) |
snowli |
Posted - 02/26/2021 : 09:01:42 AM See the link above.
There is a section "Plotting into a graph template"
The following example plots the first column as theta(X) and the second column as r(Y) in the active worksheet, into the polar plot graph template, and the graph window is named MyPolarGraph.
plotxy (1,2) plot:=192 ogl:=[<new template:=polar name:=MyPolarGraph>];
Thanks, Snow |
sam132 |
Posted - 02/26/2021 : 01:04:40 AM Thanks for the clarification but how do you invoke a user-made graph template in labtalk. |
snowli |
Posted - 02/24/2021 : 08:54:14 AM Hello,
It looks you can't save it as analysis template in 2018 since there is no recalculation lock so it wasn't considered an analysis template.
You can choose Worksheet: Worksheet Script to add Labtalk command to create graph based on a customized graph template file otpu. And choose to execute it when importing new data.
https://www.originlab.com/doc/LabTalk/guide/Creating-Graphs
Then save the workbook as regular template and import new data.
Thanks, Snow |