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
 Graph template with fitting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 05/31/2022 :  11:35:52 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2022b (64-bit) SR1 9.9.5.167
Windows 7 Pro SP1 x64

Greetings!

How do I design a graph template with exponential fitting of all the data by default?

Thank you.

---
Andrey

YimingChen

1592 Posts

Posted - 05/31/2022 :  2:22:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you want operations (e.g. exponential fitting) to be included in a template, you need to create an analysis template instead of a graph template.
https://www.originlab.com/doc/Origin-Help/Analysis-Templates

James
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/31/2022 :  2:30:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

If you want operations (e.g. exponential fitting) to be included in a template, you need to create an analysis template instead of a graph template.
https://www.originlab.com/doc/Origin-Help/Analysis-Templates

James



Dear James,

I will look into Analysis Templates in more details.
In the meantime I was thinking about adding Quick Fit Gadget to my templates. How do I trigger Span to Full Plot(s) Range option for an LT script?

---
Andrey
Go to Top of Page

YimingChen

1592 Posts

Posted - 05/31/2022 :  3:33:55 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

gadget gg = rect;
gg.expand(); 


https://www.originlab.com/doc/LabTalk/ref/Gadget-obj

James
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/31/2022 :  3:43:41 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen


gadget gg = rect;
gg.expand(); 


https://www.originlab.com/doc/LabTalk/ref/Gadget-obj

James



Dear James,

Great news!
How do I get a reference to an existing gadget to modify its settings?

---
Andrey
Go to Top of Page

YimingChen

1592 Posts

Posted - 05/31/2022 :  4:09:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The code should work as rect is the name of the ROI box object. gadget gg = rect; refers to the gadget on the active graph.

James
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/31/2022 :  10:26:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

The code should work as rect is the name of the ROI box object. gadget gg = rect; refers to the gadget on the active graph.

James



Got it.
How do I list all the gadgets in the active graph?

---
Andrey

Edited by - AKazak on 05/31/2022 10:26:39 PM
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