Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Making a List of Mouse Coordinates?' topicStudent Support Forum > General > "Making a List of Mouse Coordinates?"

Help | Reply To Topic
Author Comment/Response
10/09/08 1:26pm


Does Mathematica have a function where you can run
the mouse pointer over a plot or imported jpg image
and make a list of mouse pointer position coordinates
by clicking on a location?

I used:

Plot[x^2, {x, -3, 3}, AspectRatio -> 1]

The code above is nice, but I'd like to make a list of 2D
coordinates made from mouse clicks on selected locations,
that could be used later with the spline program.

If this can be done, please show me the code to do this.



PS. I'm using Mathematica 6.0.1 on a PC with Win XP.

URL: ,
Help | Reply To Topic