CPlotView:GetAttrib
The GetAttrib method returns a PlotAttrib table containing the general properties of the plot window atached to a CPlotView object.
The following script returns a filled PlotAttrib table for a selected CPlotView on the Mira desktop. It then instructs the plot window to display the number of series minus 1 as the current series:
|
-- select the target plot window |
|
-- if not successful, exit the script |
|
-- get the attributes table |
|
|
|
-- number of series in the plot window |
|
-- if more series than current series |
|
-- set current series to n-1 |
|
|
Mira Pro x64 Script User's Guide, v.8.77 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.