SurfacePlotSamplingFormat

The surface 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]
graph = app.CartesianSurfaceGraphs:Add()
surfacePlot = graph.Plots:Add(farFieldData)

    -- Set 'SurfacePlotSamplingFormat' properties

surfacePlot.Sampling.Method = pf.Enums.SamplingMethodEnum.SpecifiedSamples
surfacePlot.Sampling.Resolution = 50

Usage locations

The SurfacePlotSamplingFormat object can be accessed from the following locations:

Property List

Method
The method for determining where sample points of the surface plot are calculated, specified by the SamplingMethodEnum, e.g. Auto, DiscretePoints, SpecifiedResolution. (Read/Write SamplingMethodEnum)
Resolution
The number of samples to use when SamplingMethod is SpecifiedResolution. (Read/Write number)

Property Details

Method
The method for determining where sample points of the surface plot are calculated, specified by the SamplingMethodEnum, e.g. Auto, DiscretePoints, SpecifiedResolution.
Type
SamplingMethodEnum
Access
Read/Write
Resolution
The number of samples to use when SamplingMethod is SpecifiedResolution.
Type
number
Access
Read/Write