CPlotView:SetAttrib CPlotView:SetNegY

CPlotView:SetNegX


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

Example

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

V = attachlist_plotview()

-- select the target plot window

if V == nil then Exit() end

-- if not successful, exit the script

V:SetNegX()

-- make X-axis values increase leftward

Related Topics

CPlotView class

SetNegY

GetAttrib

SetAttrib

PlotAttrib table

 


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