3.3 Distance Between Two Points

Summary

Distance Between Two Points app is capable of measuring distance between two points on a 2D graph in Cartesian coordinates.

Tutorial

  1. Import the data "Multiple Peaks.dat" from the folder <Origin Installation Folder>\Samples\Curve Fitting\ into an empty worksheet.
  2. Click the header of column D to select it, and then choose menu item Plot: Symbol: Scatter to make a scatter plot.
    DistanceBetweenTwoPoints 1.png
  3. Make this newly created graph active and then select the Distance Between Two Points icon from the Apps gallery to start the app, which will show up a toolbar with five buttons.
    DistanceBetweenTwoPoints 2.png
  4. Click the first button to add a line to the graph for measuring distance between two points. Move a line between two peaks as image shows below to get the distance between the two peaks.
    DistanceBetweenTwoPoints 3.png

Toolbar

The toolbar for this app contains 5 buttons.

DistanceBetweenTwoPoints 2.png
  1. The first button is used to start the measurement on a 2D graph.
  2. The second button is used to change the mode of line on the graph. There are 4 modes for the line to change. By default, it is "Move, Resize, Rotate" mode, which allows the line to be moved, resized and rotated. To change the mode, just click the second button, and the modes will be changed orderly from the default mode to "Move Only" mode, then to "Resize and Rotate Only" mode, then to "Freeze" mode, and then back to the default mode.
    • Move, Resize, Rotate: The measured line can be moved, resized, and rotated.
    • Move Only: The measured line can only be moved.
    • Resize and Rotate Only: The measured line can be resized or rotated, but not moved.
    • Freeze: The line is frozen.
  3. The third button is like a toggle switch to show/hide the text displayed on the graph.
  4. The fourth button is to terminate the app.
  5. The last button is to open the help document.