CPlotView:SetNegX CPlotView:delete

CPlotView:SetNegY


The SetNegY method reverses the plot's Y-axis scale so that Y values increase downward. The same result can be acheived by swapping the Y axis limits using the GetAttrib and SetAttrib methods.

Example

The following script switches the Y-axis limits of a CPlotView to make Y values increase downward:

V = attachlist_plotview()

-- select the target plot window

if V == nil then Exit() end

-- if not successful, exit the script

V:SetNegY()

-- make Y-axis values increase downward

Related Topics

CPlotView class

SetNegX

GetAttrib

SetAttrib

PlotAttrib table

 


Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.