MathGroup Archive 2001

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

Search the Archive

Re: coordinates form 3Dplot/Densitygraphics


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
>




  • 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