Changing the Axes of the Trace (Independent and Fixed)

Set the independent axis of the far field trace to Phi and the fixed axis to Theta = 30°.

myFarFieldTrace.IndependentAxis = "Phi"
myFarFieldTrace:SetFixedAxisValue("Theta",30, "deg")


Figure 1. The Slice panel in the result palette.
  1. Search for the FarFieldTrace object in the Help1.
  2. In the Help under FarFieldTrace > Property List, search for an applicable property to specify the independent axis:
    • IndependentAxis

    The result is then:

    IndependentAxis = "Phi"
  3. Determine the syntax to prepend to IndependentAxis:
    1. Since IndependentAxis is a property, it is indicated by prepending a “.”:
      The result is then:
      .IndependentAxis = "Phi"
    2. Since we already have a handle on the trace, the result is:
      myFarFieldTrace.IndependentAxis = "Phi"
  4. In the Help under FarFieldTrace > Method list, search for an applicable method to specify the fixed axis:
    • SetFixedAxisValue (axis string, numvalue number, unit string)
    • SetFixedAxisValue (axis string, strvalue string)
    To specify the fixed axis, we will use the method:
    SetFixedAxisValue (axis string, numvalue number, unit string)

    The result is then:

    SetFixedAxisValue("Theta", 30, "deg")
  5. Determine the syntax to prepend to IndependentAxis:
    1. Since SetFixedAxisValue is a method, it is indicated by prepending a “:” (colon):
      The result is then:
      :SetFixedAxisValue("Theta", 30, "deg")
    2. Since we already have a handle on the trace, the result is:
      myFarFieldTrace:SetFixedAxisValue("Theta", 30, "deg")
1 The API is available in the Feko Scripting and API Reference Guide (PDF) or Feko WebHelp.