The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 finding the slops & tabulate them
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

morad85

Jordan
6 Posts

Posted - 12/01/2019 :  07:38:31 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hi everybody,
I need to find slopes for multiple lines shown in the attached figure, and then report them in a single table (sheet) without going through them one by one. Any idea?


Thanks in advance ^_^

Morad

Edited by - morad85 on 12/02/2019 01:51:58 AM

lkb0221

China
497 Posts

Posted - 12/02/2019 :  4:51:10 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Well, since they're only partially straight, you might need to first chk the derivatives to find the straight range and perform fitting on it.
It is automatable, but some scripting would be needed more or less.
Go to Top of Page

morad85

Jordan
6 Posts

Posted - 12/04/2019 :  03:57:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you for your answer,

In my case, it doesn't matter if it is linear or not. I usually do the linear fitting and look for the relative slope. Nevertheless, My problem that when I do fitting, I go to the results and copy & paste them one by one to a new worksheet.
In other words, assume the data is linear (as attached), and I did a linear fitting for the group, How can I get the results in a new worksheet without copy & paste the results manually? is there a coding way to do that?
Thanks and best regards,



<font color="purple">Morad</font id="purple">
Go to Top of Page

Chris D

428 Posts

Posted - 12/04/2019 :  10:14:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Morad,

Try this:
1. Go to the Analysis menu and choose Fitting->Linear Fit.

In the Input tab of the Linear Fit dialog, click on the arrow button and choose "Add all plots in active layer:. Then for Multi-Data fit Mode, choose "Independent Fit - Consolidated Report".

Does this do what you want?



Thanks,
Chris Drozdowski
Originlab Technical Support
Go to Top of Page

lkb0221

China
497 Posts

Posted - 12/05/2019 :  10:56:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Or use the simple fit gadget and generate output for all curves from the same layer.
Go to Top of Page

morad85

Jordan
6 Posts

Posted - 12/08/2019 :  02:53:10 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dear Chris D,
Thank you for your answer,
This is what I really do.
To be more specific, I need to plot slope vs Temperature. the temperatures are, for example, 300, 302, 304, ... etc. (Please see the attached example) and I copy each slope next to the corresponding temperature manually, which takes a long time. How can I do it faster?



quote:
Originally posted by Chris D

Hi Morad,

Try this:
1. Go to the Analysis menu and choose Fitting->Linear Fit.

In the Input tab of the Linear Fit dialog, click on the arrow button and choose "Add all plots in active layer:. Then for Multi-Data fit Mode, choose "Independent Fit - Consolidated Report".

Does this do what you want?



Thanks,
Chris Drozdowski
Originlab Technical Support




<font color="purple">Morad</font id="purple">
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000