XF offers three types of 2-D graphs for viewing results:

Once a graph has been opened, XFdtd offers various tools for modifying the plotted results. The type of graph being viewed determines which tools are available.

Viewing Data

Screenshot of Create Line Graph right click menu.

Graphs are most commonly used to view simulation results. In the results browser, double-clicking on a result generates that data's default graph, and right-clicking, then choosing Create Line Graph accesses non-default views.

Following are examples of results that can be plotted:

In addition to simulation results, various types of data can be accessed and graphed through XF's scripting API:

Exporting Tools

Screenshot of export tools.

XF's three exporting capabilities are available for each of the graph types:

  • Ctrl+Alt+F10: copies a screen capture of the active XF window—either the graph or the geometry view—to the user's system clipboard for pasting into other applications.

View-Manipulation Tools

Screenshot of view tools.

The Select tool icon.Select tool selects, moves, deletes, and edits a graph marker's properties and is available for each of the graph types.

The tool performs the following actions while it is active:

The select tool also serves as an alternative method for changing the bounds of the graph:

The Pan Tool icon.Pan Tool moves the viewed region within a graph, and is available in both XY and polar graphs.

The Zoom Tool icon.Zoom Tool moves the graph view either closer or farther for increased detail or a broader perspective, respectively. It is available in both the XY and polar graphs.

The Legend Visible icon.Legend Visible button toggles the legend display within the graph and is available for each graph type. While displayed, the legend can be moved using any active view manipulation tool by left-clicking on the legend and dragging it within the graphical space.

The Markers Visible icon.Markers Visible button toggles each marker tool's display within the graph and is available for each graph type.

Graph Properties

Screenshot of the graph properties editor.

Each of the graph types includes a Graph Properties icon.Graph Properties tool that toggles the graph and plot settings that contain three tabs with editing options.

The Graph Properties icon.Graph Properties tab provides general settings, such as the title, font, and background color. Various font size selections can be saved as the default settings for subsequent graphs by clicking the Save Current Settings As Defaults button. Reset Plot Themes reverts the colors and line styles of visible plots to the default themes. Users can also access this tab by right-clicking within the graph.

The Axes Properties icon.Axes Properties tab includes axes editing options, such as the title, bounds, tick spacing, and units used for each axis. Selecting the Auto checkbox allows XF to determine the bounds. When plotting frequency-domain data, such as S-parameters, the bounds of the graph are set to the frequency range of interest as defined when creating the simulation that produced the data. The Units drop-down arrow displays options for specifying the graph's units.

In the X-Axis properties of an XY graph, these options include a Log checkbox that allow XF to determine the maximum value, $maxValue$, from all plots in the graph and apply the normalization,

\begin{equation} p^{\prime}(x) = log(p(x)/maxValue) \end{equation}

where $p^{\prime}(x)$ is the normalized plot of $p(x)$. This feature is commonly applied when determining the -3dB level for far-zone radiation patterns.

Certain Smith charts provide the option of adjusting the Reference Impedance value.

The Plot Properties icon.Plot Properties tab allows users to inspect and edit the properties of all the plots in the graph. Selecting a plot in the list enables the (Visible icon., MoveUp icon., MoveDown icon., Copy icon., Delete icon.) buttons to show and hide the plot, reorder the plots—both in the list and in the legend—copy the plot to paste into a different graph, and delete the plot, respectively. Two tabs appear on the right side of the plot properties tab that provide options for rendering a plot. The Lines tab controls the use of line segments for connecting sampled data points and how those segments are rendered. The Data Points tab controls the representation of each individual data point, as well as how the data points are rendered. Users can also access the Plot Properties tab, as well as the copy capability, by right-clicking on the plot within a graph.

Marker Tools

Screenshot of marker tools.

Markers allow users to read data values at specific points on a graph, and are placed using the appropriate tool. When the mouse moves close to the plotted curve, it is snapped to the closest location on the interpolated line or sampled point. Markers placed on sampled points appear blue, and markers placed on interpolated points are black.

Keyboard shortcuts are applicable to each of the marker tools, and offer additional control over marker placement:

The Point Marker Tool icon.Point Marker Tool creates a marker at a specific point on a plot by clicking on the desired location while the tool is active. Each marker appears with numerical information that is dependent upon the graph type.

The Crosshairs Tool icon.Crosshairs Tool marks the location of a single point with two intersecting crosshairs, and the marker is placed at the right edge of the plot when the Markers Visible button is active. This tool is available for each of the graph types.

The Vertical Marker Tool icon.Vertical Marker Tool places a vertical line that intersects with the x-axis, and the marker is placed along the upper edge of the plot area when the Markers Visible button is active. This tool is available for XY graphs only.

The Horizontal Marker Tool icon.Horizontal Marker Tool places a horizontal line that intersects with the y-axis, and the marker is placed along the right side of the plot area when the Markers Visible button is active. This tool is available for XY graphs only.

The Horizontal Marker Tool icon.Create region highlight tool highlights a region vertically, horizontally, or bound in both directions for easier viewing and does not have a marker. This tool is available for XY graphs only. Users should note that the name of a highlighted region will not appear within the graph, but it can be used to specify the region through scripting.

Screenshot of the marker properties editor.

An existing marker can be edited while the select tool is active by right-clicking on a marker and choosing Marker properties. This option displays settings that are dependent upon the graph type, including the requested location, Attached Plot, Interpolation Method, and Marker Style.

In the Marker properties editor, the marker's location coordinates are adjusted by typing the desired values into the requested location section of the dialog window. The Attached Plot option attaches the marker to a particular plot when the desired plot name is chosen from the drop-down menu, enabling the Interpolation Method setting for selection. This definition determines whether the marker will be shifted to the nearest point on the selected function, or linearly interpolated based on the independent axis entered in the requested location dialog window. The marker type is redefined by selecting from the Marker Style drop-down menu, and the plot name of an attached marker is displayed by checking the Show Plot Name when Point option.