File Exchange > Data Analysis >    Classify Points in Graph

Author:
OriginLab Technical Support
Date Added:
7/14/2022
Last Update:
11/3/2022
Downloads (90 Days):
74
Total Ratings:
0
File Size:
236 KB
Average Rating:
File Name:
Classify_P...ph.opx
File Version:
1.00
Minimum Versions:
License:
Type:
App
Summary:

Classify points in graph by each group's boundary.

Screen Shot and Video:
Description:

PURPOSE
This app can be used to classify points in a graph by given boundary points for each group.

INSTALLATION
Download the file Classify_Points_in_Graph.opx, and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps Gallery window.
NOTE: This tool requires OriginPro.

OPERATION

  1. Make the graph active. Click Classify Points in Graph app icon in Apps Gallery window.
  2. In the opened dialog, click the Right Triangle button on the right of Points in Graph to Classify branch, and select a plot from the context menu.
  3. If your first plot includes boundary data for each group, check Boundary Data in 1st Plot, otherwise uncheck it, and select boundary data from a worksheet. Boundary points for each group constructs a polygon. Two neighboring group points are separated by an empty row.
  4. Click OK button. A new column will be created in the worksheet for selected plot data to predict groups for points in the plot.

SAMPLE OPJU FILE
This app provides a sample OPJU file. Right click on the Classify Points in Graph icon in the Apps Gallery window, and choose Show Samples Folder from the short-cut menu. A folder will open. Drag-and-drop the project file ClassifyPtsEx.opju from the folder onto Origin. The Notes window in the project shows detailed steps.
Note: If you wish to save the OPJU after changing, it is recommended that you save to a different folder location (e.g. User Files Folder).

ALGORITHM
Given boundary points for each group can construct a polygon. We can determine whether a point is inside the polygon using an existing function.

Updates:

Reviews and Comments:

Be the first to review this File Exchange submission.