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
 Lower limit to the function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

helporigin8

32 Posts

Posted - 09/09/2025 :  07:57:39 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Is there any way to say to the program that Y (Area/Nbeam) cannot be smaller than 0?

YimingChen

1691 Posts

Posted - 09/09/2025 :  09:08:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Could you share your project here? It's strange because, according to the definition of your fitting function, y should always be greater than zero. Have you manually changed the y-axis tick labels? Thank you.

Yiming
Go to Top of Page

helporigin8

32 Posts

Posted - 09/11/2025 :  06:05:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
No, I did not change it manually.
Attached is the project.https://my.originlab.com/ftp/forum_and_kbase/Images/F19%20beam%20on%20Pd%20targets_Avgust_2025.opju

Thank you.
Go to Top of Page

YimingChen

1691 Posts

Posted - 09/12/2025 :  09:57:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Maybe you can set a bound to parameter C to be >=0. See below:



Yiming
Go to Top of Page

helporigin8

32 Posts

Posted - 09/16/2025 :  06:01:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The parameter C was already positive in my fit.
Go to Top of Page

YimingChen

1691 Posts

Posted - 09/16/2025 :  12:01:53 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Could you share your fitting function file with me? When I recreated your fitting function and reran the fitting without parameter constraints, I got a negative C value. See below.



Yiming
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