Modify waves from graph

Hi to everybody,

It would be wonderful for my application if it was possible to modify a wave directly from the graph.
I mean:
I have two waves with 10 points, and I plot these waves as Y vs X in a graph.
Is it possible to change the coordinates of a point in the respective waves shifting the points directly on the graph?

If it is possible in any way please suggest me how to do it.

Thank you

Andrea
I think it is possible and not that hard (maybe), but would require some programming. I guess you want to set the cursor on one of the points and modify it.
You can define a graph hook function that grabs keyboard commands, for example the four way arrow keys. With that it would be relativly easy to change the values of the xy-pair of the current point. That's how I imagine it:
1) Execute a function to set the hook function for the (top) graph.
2) set a cursor (most probably A) on one of the points
3) move the point around with the arrow keys

The hook function basically would grab certain key press commands, then extract the point number from the cursor and add or substract values from the respective xy-pair depending on the direction. I don't know what happens when you move a point beyond the position of another point, though...
Perhaps Andrea977 is interested in a simpler solution. See the "Editing waves and graphs" section of the Manual. Using the polygon drawing tool allows direct dragging of points in graphed waves. A popup menu for graph editing appears when ALT+polygon is pressed (PC).
Go to the Graph menu and select Show Tools. Make sure the bottom of the two top buttons is selected so that you have the draw tools showing. Hold down Option (Mac) or Alt (Windows) and click on the polygon tool button. In the menu, select Edit Wave.

Read about it by executing this command on Igor's command line:
DisplayHelpTopic "Drawing and Editing Waves"

You will also want to read this:
DisplayHelpTopic "Editing a Polygon"
because editing waves works the same way.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
johnweeks wrote:
Go to the Graph menu and select Show Tools. Make sure the bottom of the two top buttons is selected so that you have the draw tools showing. Hold down Option (Mac) or Alt (Windows) and click on the polygon tool button. In the menu, select Edit Wave.

Read about it by executing this command on Igor's command line:
DisplayHelpTopic "Drawing and Editing Waves"

You will also want to read this:
DisplayHelpTopic "Editing a Polygon"
because editing waves works the same way.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com




WONDERFUL!!
Thank you very much.
I work with IGOR just since 2 months and I still can't believe it is so powerful!
Thanks again
Andrea