CPlotView:SetAttrib
The SetAttrib method sets the axis properties (min, max, labels, etc.) of a CPlotView object using values in a PlotAttrib table. Before using this method to set new values, fill the attributes table using GetAttrib.
The following script sets the x-axis limits for the plot box of a CPlotView window:
|
-- select the target plot window |
|
-- if not successful, exit the script |
|
-- fill the attribute table with current values |
|
|
|
-- new x axis minimum value |
|
-- new x axis maximum value |
|
-- set new X axis range using the attributes |
PlotAttrib table
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.