
move segment of a wave/graph

Tuland
I tried the segment mover (cntl + edit wave ) in Poly tool but it does only for adjacent points.
Is there any way for example by placing two cursors on the graph at points say at (x1,y1) and (x2,y2) and then shifting (visually/by dragging the curve portion) all the points within (x1,y1) and (x2,y2) to new location (x1,y1-5) ...(x2,y2-5) where all the points within (x1, y1) and (x1,y2) also moves by the same amount ( -5) .
The arithmatic panel can do the shift but for it works on whole graph, is there any way to do it on section of a graph.
Here is a function that does it programmatically:
Here is another function that does the same thing but much faster:
Execute this for help on ?:
February 25, 2012 at 08:04 am - Permalink
I tried to get xwave and ywave from cursor but it didnt work. Somehow I didnt able to define the function properly.
Can you put some light !!
February 25, 2012 at 09:26 am - Permalink
February 25, 2012 at 10:47 am - Permalink
February 25, 2012 at 01:17 pm - Permalink