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
 All Forums
 Origin Forum
 Origin Forum
 Same Level

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
adeodatoarthur Posted - 07/03/2018 : 12:30:28 PM
Dear Origin Team,
I have to put all my curves at the same level. If you have a look at the atached image, you can see they are not starting at the same level. There is any tool in origin to make this ?
I am having too much work doing the mean of each line, crating a new colum on woorksheet and substracting the mean of all data.

Thanks a lot,
Arthur.
4   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 07/05/2018 : 10:49:57 AM
Hi Arthur,

If you are okay to do manually, you can follow the Yuki's way. If you want to do programmatically,
you can run the following simple script when the graph window is active.
/////////////////////////////////////////////////
layer -b s -2;           //if plots are grouped, and layer can have offset plots
doc -e DY {              //loop over plots
  range rp=%C;           //data range of the picked plot
  y_offset=-1*rp[1];     //Offset is the 1st value of the curve
  //y_offset=-1*min(rp); //if you want to set the minimum in curve as offset
  set %C -sy (y_offset); //if you want to set offsets without data change
  //rp=rp+y_offset;      //instead, if you want to update the source data
}
layer -ax;               //rescale Y axis
/////////////////////////////////////////////////
Note that this script works only when the plots are grouped, and won't change the original data,
but only presents plots with offset.

Hope this helps.

OriginLab
yuki_wu Posted - 07/04/2018 : 10:09:33 PM
Hi Arthur,

You could use curve translate tool:
1. Make the graph active.
2. Select Analysis: Data Manipulation: Vertical Translate from Origin menu.
3. An anchor and a red line will be added to the active curve
4. Move the anchor to the start point
5. Click the triangle button to select Shift Curve from the context menu
6. Select Shift Curve to and enter 0 in the Value box
7. Click OK button

More info about the curve translate tool please refer to:
https://www.originlab.com/doc/Origin-Help/Translate-Curve

If you want to calculate the mean value of the curves, the Statistics Gadget could help:
https://www.originlab.com/doc/Origin-Help/Gadget-Statistics

Regards,
Yuki

OriginLab
adeodatoarthur Posted - 07/04/2018 : 7:18:08 PM
Yes you quiet right !
The level all curves supposed to be is at ZERO on y axis.
I want to bring all curves to start in zero then i can compare then !

Thanks a lot
Arthur
yuki_wu Posted - 07/03/2018 : 10:32:28 PM
Hi,

I am sorry that I could not understand your question fully.

What is the level you mean? Is it the starting point of the curve? Did you want to calculate the mean value for all the data in the graph?

Regards,
Yuki
OriginLab

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000