# Axes

An axis is a dimension which data is calculated along. Typically an axes contain the set of physical points where data is calculated, the frequency or position where the data is calculated. A full list is given in Table 1. Any of these axes may be added to a DataSet.

nf = pf.NearField.GetDataSet("Horn.StandardConfiguration1.NearField1")forindex, axisinpairs(nf.Axes)doprint(string.format("axis[%d]: %s axis with %d values [%E to %E] %s", index, axis.Name, axis.Count, axis.Values[1], axis.Values[#axis.Values], axis.Unit))end

```
axis[1]: Frequency axis with 1 values [1.645000E+009 to 1.645000E+009] Hz
axis[2]: X axis with 21 values [-2.600000E-001 to 2.600000E-001] m
axis[3]: Y axis with 21 values [-2.000000E-001 to 2.000000E-001] m
axis[4]: Z axis with 1 values [4.600000E-001 to 4.600000E-001] m
```

Axis type | Axes field |
---|---|

Position | X |

Y | |

Z | |

Theta | |

Phi | |

Rho | |

R | |

Frequency axis | Frequency |

Other axes | Arbitrary |

Index | |

MediumNames | |

PortNumber | |

Solution | |

S-parameter | |

Undefined | |

Time |