MathGroup Archive 2001

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

Search the Archive

Re: coordinates form 3Dplot/Densitygraphics

  • To: mathgroup at
  • Subject: [mg29697] Re: coordinates form 3Dplot/Densitygraphics
  • From: "Allan Hayes" <hay at>
  • Date: Wed, 4 Jul 2001 03:08:23 -0400 (EDT)
  • References: <9hs0f6$bqo$>
  • Sender: owner-wri-mathgroup at


cpd = ClipboardNotebook[];

Plot[Sin[x], {x, 0, 2Pi}];

- click on the cell holding the picture
-with Control key held down click on some points on the curve
- save (Control, S)
- get the coordinates of the clicked points

coords = NotebookGet[cpd][[1, 1, 1]];

Allan Hayes
Mathematica Training and Consulting
Leicester UK
hay at
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Bernd Brandt" <bernd at> wrote in message
news:9hs0f6$bqo$1 at
> Dear group
> With "Get Graphic Coordinates" we can get the coordinates of any plot.
> Is it possible to pass the valuepair displayed in the status line
> directly to a function?
> This would be very nice for 3D or DenisityPlots:
> Get Coordinates gives the {x,y} pair, this is passed directly to a
> function which calculates the z value and then prints the {x,y,z}
> values in the status line.
> How could I pass the coordinates displayed in the status line directly
> to a function?
> Regards,
> Bernd

  • Prev by Date: Re: Problem with Inequalities
  • Next by Date: Re: Swiftest code to turn list of ordered pairs into Markov matrix
  • Previous by thread: coordinates form 3Dplot/Densitygraphics
  • Next by thread: recreate file