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