Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6373663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:23:25+00:00 2026-05-25T01:23:25+00:00

I have a graph as a result of executing ListPlot[] function. I can manually

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T01:23:26+00:00Added an answer on May 25, 2026 at 1:23 am

    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

    data = Delete[Table[{t, (1 + RandomReal[{-.2, .2}])Exp[t]}, {t, 0, 2, .2}], 6];
    

    A little formatting command:

    nForm = NumberForm[#, {2, 2}, NumberPadding -> {"", "0"}] &;
    

    Finally, here’s the code to make the manipulable graphics. New locators/data points are added using Alt-Click (or Ctrl-Alt-Click on linux). If you click on the list of points on the left, then a new window is opened containing the points in input form.

    Manipulate[
     LocatorPane[Dynamic[pts, {None, Temporary, Automatic}],
      nlm = Block[{a,b,t}, NonlinearModelFit[Sort[pts], a Exp[t] + b, {a, b}, t]]; 
      Show[Plot[{Exp[t], nlm[t]}, {t, 0, 2}, 
        PlotStyle -> {{Thick, LightGray}, Dotted}, PlotRangePadding -> Scaled[0.1]], 
       ListPlot[data, PlotStyle -> Blue], AxesLabel -> Block[{t,f}, {t, f[t]}]],
      LocatorAutoCreate -> True, Appearance -> Style["\[CircleDot]", Red]],
     {nlm, None}, {{pts, data}, None},
     Dynamic[Pane[EventHandler[
        nForm@Grid[Prepend[pts, {"x", "y"}], Dividers -> {False, 2 -> True}], 
        {"MouseClicked" :> (CreateDocument[{ExpressionCell[nlm["Data"], "Output"]}, 
         WindowTitle -> "Data"])}], ImageSize -> {100, 250}, 
       ImageSizeAction -> "Scrollable", Scrollbars -> {False, True}]],
     Pane[Dynamic[nForm@Row@{nlm,Row[{"\tvariance = ",nlm["EstimatedVariance"]}]}]],
     ControlPlacement -> {Left, Left, Left, Top}]
    

    output from the above

    In the above I’ve used the locators to correct a couple of outliers and restored the missing data point.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have oriented graph. Graph can be strongly connected. Every vertex can have a
I have this object graph, I want to map: abstract Account (username, password, ...)
I have the following C# code: public JsonResult Graph() { var result = new
I have this code: $url=https://graph.facebook.com/me/friends?access_token=.$access_token.&fields=id,first_name,last_name&limit=10; $content=file_get_contents($url); Whenever I use this on a non authenticated
I have a graph-theoretic (which is also related to combinatorics) problem that is illustrated
I have an n-partite (undirected) graph, given as an adjacency matrix, for instance this
I have several functions on graph f(), g() and h() that implements different algorithms
In Matlab, I have a function: function [ Result ] = Calc_Result(A, B, C,
I have a Graph being drawn inside a UIScrollView . It's one large UIView
I have a graph with n nodes as an adjacency matrix . Is it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.