MathGroup Archive 2007

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

Search the Archive

Re: Re: 6.0 Get Graphics Coordinates...

  • To: mathgroup at
  • Subject: [mg77750] Re: Re: 6.0 Get Graphics Coordinates...
  • From: "John Jowett" <John.Jowett at>
  • Date: Sat, 16 Jun 2007 03:22:18 -0400 (EDT)
  • Organization: CERN News
  • References: <f4on38$7sg$> <> <f4tm2d$ira$>

I tend to agree.  I tried the examples given by Jens and others abd could 
not figure out how to actually get hold of the values of the points that I 
created by clicking.

In previous versions, one of my frequent applications of Ctrl-Click was to 
read points off a curve on an imported scanned image and then convert them 
to data using a function created by Ctrl-Clicking on the corners of a plot 
(I made a little package for that if anyone is interested).

Another was to click on phase space plots to create new initial conditions 
for particle tracking.
Can anyone explain how to do this kind of thing in V6 ?

John Jowett

"Murray Eisenberg" <murray at> wrote in message 
news:f4tm2d$ira$1 at
Useless??  Hardly!  Surely just doing Plot[...] and then Ctrl-clicking
is a lot easier for a beginner (e.g., a student using Mathematica) than
to deal with a Dynamic object.

On the other hand, and apart from the issue of what to do with
Ctrl-click when the graphics object is dynamically generated, there
would seem to be a design issue: Now, in 6.0, Ctrl-mouse-button-down is
the start of a zoom-in/zoom-out for a 3D graphic.

Jens-Peer Kuska wrote:
> Hi,
> it has been droped because it is useless try
> gr = Plot[Sin[x^2], {x, 0, 2 Pi}];
> and
> DynamicModule[{pnt = {0, 0}},
>   gr /. Graphics[gg_, opts___] :>
>     Graphics[Append[gg, Tooltip[Locator[Dynamic@ pnt], Dynamic@ pnt]],
>      Prepend[Prepend[{opts}, PlotLabel -> Dynamic[pnt]],
>       AxesLabel -> {Dynamic[First[pnt]], Dynamic[Last[pnt]]}]]
>   ]
> and
> DynamicModule[{pts = {{0, 1/2}, {2, 1/2}}}, LocatorPane[Dynamic[pts],
>    gr, LocatorAutoCreate -> True]]
> Alt-Mouse click will add points ..
> Regards
>    Jens
> roby.nowak at wrote:
>> hello, what happened to:
>> 5.2  Get Graphics Coordinates...
>> in version 5.2 you could click inside a graphic and when holding down
>> the <Ctrl> key the coordinates of the cursor within the graphics would
>> be displayed. you could then click with the mouse and every clicked
>> position got saved in a buffer. then you could copy and paste the
>> saved coordinates as a list of number pairs.
>> regards robert

Murray Eisenberg                     murray at
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

  • Prev by Date: 3D plot with one logarithmic axes (II)
  • Next by Date: Re: Are comments safe inside notebook cells
  • Previous by thread: Re: 6.0 Get Graphics Coordinates...
  • Next by thread: Re: 6.0 Get Graphics Coordinates...