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
 shift x values based on y for All curves
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

martachiap12

United Kingdom
1 Posts

Posted - 03/16/2021 :  2:28:52 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
hello,
I would need to translate all my graphs so that x is 0 when there is a change in variance of y (when y increases)
I know there is the translate function but I would like to do all the curves in once. how could I do? is there a function

thank you

Marta

marta

YimingChen

1592 Posts

Posted - 03/16/2021 :  4:40:53 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Please try the LT script below:

doc -e p
{
range -wx rx = 1;
range -w ry = 1;
rx = rx - table(diff(ry)>0, rx, 1, 2);
}

If not working, please send a sample project to Originlab.

James
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