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
 How to move whole curve?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

mayflower

USA
Posts

Posted - 01/22/2004 :  8:35:02 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I'm doing some spectrum analysis. Sometimes it will very convenient if I can move the whole curve up and down or left and right so to compare peaks. I used to do it in Igor, but is that possible to do it in Origin too? How to do it?

Mike Buess

USA
3037 Posts

Posted - 01/22/2004 :  8:55:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Analysis->Translate

Mike Buess
Origin WebRing Member
Go to Top of Page

greg

USA
1379 Posts

Posted - 01/23/2004 :  10:10:16 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can also play with this code in the Script Window:

step = 1;
%C += step; // Move the active dataset 'up' 1
%C -= step; // Move the active dataset 'down' 1
(xof(%C)) += step; // Move the active dataset 'right' 1
(xof(%C)) -= step; // Move the active dataset 'left' 1

Note that moving data left or right (changing the X values) will also move any other data in the worksheet associated with that X.


Go to Top of Page

mayflower

USA
Posts

Posted - 01/23/2004 :  4:41:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
will that change the original data? Because the origional data should keep as const.

quote:

You can also play with this code in the Script Window:

step = 1;
%C += step; // Move the active dataset 'up' 1
%C -= step; // Move the active dataset 'down' 1
(xof(%C)) += step; // Move the active dataset 'right' 1
(xof(%C)) -= step; // Move the active dataset 'left' 1

Note that moving data left or right (changing the X values) will also move any other data in the worksheet associated with that X.




Go to Top of Page

easwar

USA
1965 Posts

Posted - 01/23/2004 :  5:05:56 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Yes, both suggestions posted here will change the data. What you are asking for is a "ghost curve" feature where you can move a "copy" of the curve around to see how it compares to other curves etc. This feature is currently not available. With the Translate menu option, you can undo the change you did, using Edit->Undo.

Easwar
OriginLab.

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