Re: coordinates form 3Dplot/Densitygraphics
- To: mathgroup at smc.vnet.net
- Subject: [mg29697] Re: coordinates form 3Dplot/Densitygraphics
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Wed, 4 Jul 2001 03:08:23 -0400 (EDT)
- References: <9hs0f6$bqo$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Berndt,
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
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565
"Bernd Brandt" <bernd at bio.vu.nl> wrote in message
news:9hs0f6$bqo$1 at smc.vnet.net...
> 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
>