PlotSamplingFormat

The plot sampling format property.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/helix_6_2_PBC_1x1_ContinuousFarField.fek]])
farFieldData = app.Models[1].Configurations[1].FarFields[1]
farFieldPlot = app.Views[1].Plots:Add(farFieldData)

    -- Edit the 'PlotSamplingFormat'

farFieldPlot.Sampling.Method = pf.Enums.PlotSamplingMethodEnum.SpecifiedResolution
farFieldPlot.Sampling.AngularResolution = 3

Usage locations (object properties)

The following objects have properties using the PlotSamplingFormat object:

Property List

AngularResolution
The size of the sampling interval (in degrees) when the Method is SpecifiedResolution. (Read/Write number)
Method
The method for determining where sample points of the plot are calculated, specified by the PlotSamplingMethodEnum, e.g. Auto, RequestPoints, SpecifiedResolution. (Read/Write PlotSamplingMethodEnum)

Property Details

AngularResolution
The size of the sampling interval (in degrees) when the Method is SpecifiedResolution.
Type
number
Access
Read/Write
Method
The method for determining where sample points of the plot are calculated, specified by the PlotSamplingMethodEnum, e.g. Auto, RequestPoints, SpecifiedResolution.
Type
PlotSamplingMethodEnum
Access
Read/Write