How to | Get Coordinates for Points in a Plot

The Wolfram System's interactive graphics capabilities let you determine the coordinates of a single point. You can also get arbitrary sequences of points and paths, and analyze and manipulate the coordinate lists like any other data in the Wolfram System.

This page requires that JavaScript be enabled in your browser.
Learn how »

Selected examples from the video:

With the Get Coordinates tool you can query, copy, and paste coordinates from any graphic or plot.

First, open the Drawing Tools palette from the Graphics menu:

In the Drawing Tools palette, choose the Get Coordinates tool:

When you hover over a graphic, the coordinates of the point under the cursor are displayed next to the cursor. Clicking a point marks the point in the graphic for later copying. Similarly, dragging marks a set of points along the path:

After clicking or dragging points, use Edit Copy to put the coordinates of the points on the clipboard:

Here, Edit Paste was used to paste in the selected coordinates:

Click for copyable input

To mark a rectangular area on a plot, do Alt+Drag on Windows or Option+Drag on Macintosh. You can resize a marked area using the resize handles. Clicking and dragging on a side of a rectangle will move it without resizing.

You can see here that two rectangular areas were drawn, and the resize handle appeared when the cursor was positioned over a corner:

Click for copyable input

Here, the coordinate values of the rectangles were copied and pasted in as before:

Click for copyable input

In the pasted data, each rectangle is represented by a list of the minimum and maximum coordinate values of the rectangle.