CPlot:GetPt
The GetPt method returns a PlotPoint table containing the properties of a plot point. The related ToTable method returns an indexed table of PlotPoint tables (one sub-table for each plot point).
PlotPoint = CPlot:GetPt(nIndex)
where nIndex is the index of the point in the CPlot object.
PlotPoint is a PlotPoint table.
On failure, nil is returned.
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 all properties of the point |
PlotPoint table
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.