turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Blogs
- :
- JMP Blog
- :
- JMP add-in measures distance between 2 points

Article Options

- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content

Aug 12, 2014 8:54 AM
(497 views)

JMP add-in measures distance between 2 points

JMP has many tools and features that allow you to interactively explore and analyze data. But what if you just want to measure the distance between two points? You could compute the distance with the standard distance formula, but what if the coordinates are latitude and longitude pairs? The distance formula would not be a lot of help then. Thanks to the extensibility of JMP, I was able to develop a new add-in to do one simple task: measure distance. The add-in, called Distance Tool, is an interactive tool that enables you to perform quick and effortless measurements.

In addition to Euclidean distance, the Distance Tool has various distance metrics for you to select from. The tool can compute:

The tool first finds all graphs that contain objects with measurable distances (Figure 1). The graphs are then assigned a unique key value based on the window title and position. You can then make measurements in the current graph by simply clicking and dragging (Figure 2).

Now what if you have a graph with latitude and longitude as its axes? No problem. The Great-Circle metric allows you to measure geographic distances between geodesic coordinates (Figure 3).

With the tool’s custom scale feature, you can even set your own scale for graphs with arbitrary axes.

The tool even allows you to trace out a path or polygon shapes, as in the image of an animal footprint (Figure 4).

All the measurements are recorded in separate data tables to give you the ability to store, analyze and organize the information you want (Figure 5).

The tool’s various options and features make it a powerful add-in for JMP.

You can download the Distance Tool add-in from the JMP File Exchange.

1 Comment

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

Article Tags