I have a graph as a result of executing ListPlot[] function.
I can manually edit this graph by moving points to a different location
and also adding new points using the Drawing Tools.
How do I get the coordinates of new and changed points from the edited graphics?
This approach makes every data point a locator that can be moved. New locators can be added and old ones deleted as appropriate. The best fit and variance are updated after every change.
Here’s some data of some exponential growth with some errors and a data point missing
A little formatting command:
Finally, here’s the code to make the manipulable graphics. New locators/data points are added using
Alt-Click(orCtrl-Alt-Clickon linux). If you click on the list of points on the left, then a new window is opened containing the points in input form.In the above I’ve used the locators to correct a couple of outliers and restored the missing data point.