ResultPlot
Graph data plotted on either 2D or 3D graphs.
Example
app = pf.GetApplication() app:NewProject() app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/startup.fek]]) -- Plot the far field on the 3D graph plots3D = app.Views[1].Plots farField3DPlot = plots3D:Add(app.Models[1].Configurations[1].FarFields[1]) -- Create a cartesian graph and plot the far field in 2D graph = app.CartesianGraphs:Add() plots2D = graph.Traces farField2DPlot = plots2D:Add(app.Models[1].Configurations[1].FarFields[1]) -- Obtain the axis names for each plot print("3D Far field axes:") printlist(farField3DPlot.AxisNames) print("\n2D Far field axes:") printlist(farField2DPlot.AxisNames) -- Give each plot a convenient label farField3DPlot.Label = "FarField_in_3D" farField2DPlot.Label = "FarField_in_2D"
Inheritance
The following objects are derived (specialisations) from the ResultPlot object:
Usage locations
The ResultPlot object can be accessed from the following locations:
- Methods
- ResultSurfacePlotCollection collection has method Add(ResultData).
- Result3DPlotCollection collection has method Add(ResultData).
- ResultTraceCollection collection has method Add(ResultData).
Property List
Property Details
- AxisNames
- The names of all the axes on the ResultPlot.
- Access
- Read only
- Label
- The object label.
- Type
- string
- Access
- Read/Write