Plot Material Parameters | XFdtd

Generate a graph of a material definition's data sets.

The plot material parameters macro is a fully featured script with an interactive user interface. It allows users to select a material from the current project and generate a graph of its electromagnetic properties.

Use the plot material parameters macro by following these steps:

  1. Download Plot Material Parameters.xmacro
  2. Place the file in your Macros Menu directory or right-click on Scripts in the Project Tree and choose Import Scripts.
  3. Execute the script by selecting it in the Macros Menu, or right-clicking on the imported script in the Project Tree and choose Execute.

Once the script is executed, it opens a window that lists all of the Material Definitions from the Project Tree.

  1. Select the desired material from the drop-down menu.
  2. Click OK.

The script generates a list of all possible material parameters based on the selected material and present them in a second window.

  1. Enter values for the graph axis.
  2. Check all desired material parameters.
  3. Click OK.

The script adds a Graph to the Project Tree for each type of parameter selected. The graphs are tied to the original Material Definition, so updates made to the material parameters in the Material Editor are automatically reflected in the graph.