CPlot:PlotPoint Table
The PlotPoint table is a name-keyed table that contains the data for each individual point in the plot series managed by the CPlot class. The table below describes the table membersfor each point.
Name |
Description |
x |
The x coordinate of the point. |
y |
The y coordinate of the point. |
xe |
The x error bar size of the point. |
ye |
The y error bar size of the point. |
status |
Specified the status of the point. Typically all points will have a status of 0 ("normal") unless the plot was altered by a data rejection or fitting procedure. 0: normal 1: deleted 2: rejected 3: weighted |
visible |
boolean true if the point is visible in the CPlotView window. |
The following script attaches a CPlotView from the Mira desktop and prints the properties of the point at index 15 in plot series 1:
|
-- select the target plot window |
|
-- if not successful, exit the script |
|
-- get a CPlot object for series 1 |
|
|
|
-- Get the point data for index 15 |
|
|
-- print the properties of the point at index 15 |
|
|
-- print a table heading |
|
|
|
-- print the PlotPoint table |
CPlotView class, CPlot class, GetX, GetY, GetXY, ToTable
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.