VerticalGraphAxis

The graph vertical axis properties.

Example

app = pf.GetApplication()
app:NewProject()
graph = app.CartesianGraphs:Add()

    -- Edit 'VerticalGraphAxis' property

graph.VerticalAxis.LogScaled = true

Usage locations

The VerticalGraphAxis object can be accessed from the following locations:

Property List

DynamicRange
Dynamic range of vertical axis in dB. (Read/Write number)
Labels
The graph vertical axis labels. (Read only GraphAxisLabels)
LogScaled
Set the graph vertical axis to a logarithmic scale. (Read/Write boolean)
MajorGrid
The graph vertical axis major grid spacing. (Read only AxisGridSpacing)
MinorGridSubdivisions
The number of minor grid subdivisions. (Read/Write number)
Range
The graph vertical axis range. (Read only AxisRange)
ReversedOrder
Set the graph vertical axis to a reversed order. (Read/Write boolean)
Title
The graph vertical axis title. (Read only GraphAxisTitle)

Property Details

DynamicRange
Dynamic range of vertical axis in dB.
Type
number
Access
Read/Write
Example
app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/square_loop_antenna_MATCHED.fek]])
graph = app.CartesianGraphs:Add()
sourceTrace = graph.Traces:Add(app.Models[1].Configurations[1].Excitations[1])

    -- Limit the axis dynamic dB range

sourceTrace.Quantity.ValuesScaledToDB = true
graph.VerticalAxis.DynamicRange = 20



Labels
The graph vertical axis labels.
Type
GraphAxisLabels
Access
Read only
LogScaled
Set the graph vertical axis to a logarithmic scale.
Type
boolean
Access
Read/Write
MajorGrid
The graph vertical axis major grid spacing.
Type
AxisGridSpacing
Access
Read only
MinorGridSubdivisions
The number of minor grid subdivisions.
Type
number
Access
Read/Write
Range
The graph vertical axis range.
Type
AxisRange
Access
Read only
ReversedOrder
Set the graph vertical axis to a reversed order.
Type
boolean
Access
Read/Write
Title
The graph vertical axis title.
Type
GraphAxisTitle
Access
Read only