MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Reading Coordinates from Plot


This is a start.  I'm new to 6 so hopefully others will post better solutions:

DynamicModule[{pts = {{0, 0}}}, 
 Row[{LocatorPane[Dynamic[pts], 
    Show[Graphics[{}, PlotRange -> 5], Axes -> True]], 
   Show[{Graphics[Dynamic[Point@pts], PlotRange -> 5], 
     Plot[Sin[x], {x, -5, 5}]}, Axes -> True], Dynamic[pts]}]]


  • Prev by Date: image opacity/image overlaying?
  • Next by Date: Re: "formatting notebook contents" messages, why so many in Mathematica 6?
  • Previous by thread: Re: Reading Coordinates from Plot
  • Next by thread: Re: Reading Coordinates from Plot