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 for Programming
 LabTalk Forum
 How to plot a fit function to all graphs in folder
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

nano.nano

2 Posts

Posted - 08/06/2014 :  09:48:34 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release: Origin Pro 9.0.0 SR1
Operating System: Windows 7 64bit

Hi. I want to automate plotting a fitting curve for all graphs in a folder.

I can use a command

nlbegin iy:=1 func:=Allometric1 nltree:=tt;

to successfully draw a fit into an active graph, but the following script does nothing:

doc -ef LP {
win -a %H;
nlbegin iy:=1 func:=Allometric1 nltree:=tt;
}

lkb0221

China
497 Posts

Posted - 08/06/2014 :  11:08:26 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You need to finish the fitting and generate fitted curve for each graph. Try the following:

doc -ef LP
{
nlbegin iy:=1 func:=Allometric1 nltree:=tt;
nlfit;
nlend 1 AU_AUTO;
}


Zheng
OriginLab

Edited by - lkb0221 on 08/06/2014 11:08:43 AM
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