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
 Translate Vertical

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
bry4ntwood Posted - 08/07/2007 : 10:14:42 PM
Origin Version (Select Help-->About Origin): 7.5
Operating System: WIN2000

Hi there,

I would like to use the Analysis -> Translate -> Vertical command but I need the translation to be multiplied by a constant as opposed to added by a constant. I realize I can use simple math, but for me, it would be so much easier to use the Translate feature.

Anyway I can modify this routine or create some kind of script? My data happens to be plotted on a log scale and translating by the addition of a constant changes the "shape" of the curve. I just want to be able to move the curve around for display purposes as the y values are arbitrary.

Thanks!

-nathan
3   L A T E S T    R E P L I E S    (Newest First)
carrie3335 Posted - 11/03/2016 : 3:06:17 PM
Hello! This is fantastic. However, after you translate the curves, is there any way to see by how much they have been translated? Thank you!
bry4ntwood Posted - 08/08/2007 : 11:49:43 AM
That Worked Perfectly!!

Thanks Mike!

-Nathan
Mike Buess Posted - 08/08/2007 : 10:51:48 AM
Hi Nathan,

Run this script from the Custom Routine button or a user-defined button...

def EndToolbox
{
y_last=y;;
def EndToolbox {y/y_last;undo %C;%C * y;};
GetPts -Y 1 (Move cursor to new location, hit ENTER)
};
GetPts 1 $EXEmessage.Pick1Pt;

Mike Buess
Origin WebRing Member

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