IndependentAxisFormat

The trace independent axis properties.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/Example_Expanded.fek]])    
cartesianGraph = app.CartesianGraphs:Add()
trace = cartesianGraph.Traces:Add(app.Models[1].Configurations[1].NearFields[1])

    -- Set axes properties

trace.Axes.Independent.Unit = "mm"
trace.Axes.Independent.Offset = 0.01     -- Offset is in SI unit, i.e. 'm'
trace.Axes.Independent.Scale = 0.5

cartesianGraph:ZoomToExtents()

Usage locations

The IndependentAxisFormat object can be accessed from the following locations:

Property List

Offset
The independent axis offset for the trace. (Read/Write number)
Scale
The independent axis scale for the trace. (Read/Write number)
Unit
The unit of the independent axis of the trace. (Read/Write string)

Property Details

Offset
The independent axis offset for the trace.
Type
number
Access
Read/Write
Scale
The independent axis scale for the trace.
Type
number
Access
Read/Write
Unit
The unit of the independent axis of the trace.
Type
string
Access
Read/Write