RadiationPattern
Create a radiation pattern plot.
Syntax
model.result(<pgtag>).create(<ftag>,"RadiationPattern");
model.result(<pgtag>).feature(<ftag>).set(property,<value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
model.result(<pgtag>).create(<ftag>,"RadiationPattern") creates a radiation pattern plot feature named <ftag> belonging to the plot group <pgtag>.
Radiation pattern plots are used to visualize radiation patterns in the far-field for antennas, for example. They can be added to all types of plot groups.
The following properties are available:
manual | none
true | false
true | false
true | false
true | false
true | false
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
The bottom color to use for a color gradient. Active when linecolor is cyclegradient. Available in 1D.
If circle is manual and the dataset is 2D: The center of the circle to evaluate on. Available in 1D.
If circle is manual and the dataset is 3D: The center of the circle to evaluate on. Available in 1D.
manual | unit
default | long
The color cycle, when linecolor is set to cycle. With default, it contains 7 colors; with long, it contains 19 colors.
The color table to use when linecolor is set to cyclecolortable. See Color Tables for a list of color tables. Available in 1D.
Parameters to use in the expressions as an N‑by‑3 matrix containing name, value, and description. Only parameters provided by the physics interfaces in the model can be set.
{1,0,0} or last used color
The uniform color to use. Active when bottomcolor is set to custom. Available in 1D.
f grid is fine, normal, or coarse and gridcolor is custom: The grid’s color. Available in 3D.
{0,0,1} or last used edgecolor
The color to use for the lines. Active when linecolor is set to custom. Available in 1D.
{1,0,0} or last used color
The uniform color to use. Active when topcolor is set to custom. Available in 1D. Available in 1D.
auto | manual
The length of color cycle when linecolor is cyclegradient. Available in 1D.
none | parent | dataset name
The description of the expressions in expr. Is used in the automatic legends.
on | off
on | off
on | off
linpoint | harmonic | lintotal | lintotalavg | lintotalrms | lintotalpeak
on | off
fine | normal | coarse | none
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
If grid is fine, normal, or coarse: The grid’s color. Available in 3D.
all | first | last | manual | manualindices | interp
How to input the solution to use. manual indicates that solnum is used. manualindices indicates that solnumindices is used. interp indicates that t is used.
The times to use, for transient levels. Available when data is not parent and the underlying data is transient.
on | off
The precision for the evaluated expression when legendmethod is set to evaluated.
automatic | manual | evaluated
A legend string to be evaluated when legendmethod is set to evaluated.
Manual legends active when legendmethod is set to manual. Available in 1D.
custom | cycle | cyclereset | cyclecolortable | cyclegradient | fromtheme | black | blue | cyan | gray | green | magenta | red | white | yellow
How to color the lines in the graph. Cycle indicates that the colors is different for each line. Use cyclereset to restart the cycling of colors from the first color. Use fromtheme to take the color from the selected color theme. Available in 1D.
double | preference
none | cycle | asterisk | circle | diamond | plus | point | square | star | triangle
none | cycle | solid | dotted | dashed | dashdot
all on all levels
An alternative way to specify the solutions to use, allowing you to enter, for example, range(1,1,20). Applicable when looplevelinput is manualindices on a level.
String array with all | first | last | manual | manualindices | interp on each level
all on all levels
How to input the solution to use, per level. manual on a level indicates that looplevel is used on that level. manualindices on a level indicates that looplevelindices is used on that level. interp on a level indicates that interp is used on that level.
interp | datapoints
{0, 0, 1} for 3D, {0, 1, 0} for 2D axisymmetry.
The number of colors in the color cycle when cyclelength is manual. Available in 1D.
all | first | last | manual | manualindices
How to input the outer solutions to use. Applicable only for parametric sweep models. manual indicates that outersolnum is used. manualindices indicates that outersolnumindices is used.
If anglerestr is manual: The minimum phi angle in degrees.
If anglerestr is manual: The phi angle’s range in degrees.
If circle is manual: The radius of the circle to evaluate on.
on | off
Whether to use the manual color range specified in rangecolormin and rangecolormax. The color range specifies the minimum and maxim value in the plotted colors. The default is the minimum and maximum data values.
on | off
Whether to use the manual data range specified in rangedatamin and rangedatamax. Values outside the data range are not plotted.
{1, 0, 0} for 3D, {0, 0, 1} for 2D axisymmetry, {1, 0} for 2D
The solutions to plot. Available when data is not parent and the underlying data has multiple solutions.
An alternative way to specify the solutions to use, allowing you to enter, for example, range(1,1,20). Applicable when innerinput is manualindices.
solnum | solutioninfo
manual | parent
If data is a local dataset with nontrivial data, specify solutions manually or take them from the parent plot group.
manual | unit
The times to plot. Available when data is not parent and the underlying solution is transient.
If anglerestr is manual: The minimum theta angle in degrees. Available in 2D and 3D.
If anglerestr is manual: The phi angle’s range in degrees. Available in 2D and 3D.
on | off
The title to use when titletype is manual.
auto | custom | label | manual | none
auto, if the title should be computed automatically. custom, if the title should be computed automatically, but customized. label, if the title should be the plot group’s label. manual, if the manual title should be used (the title property). none, if no title should be displayed.
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
The bottom color to use for a color gradient. Active when linecolor is cyclegradient. Available in 1D.
on | off
The unit to use for the expression in expr. If the old unit is not valid when the expression changes, the unit property is reset to default.
on | off
on | off
Use the expression in expr as the colorexpr. Available in 3D only.
Attributes
Deform (2D and 3D only), Export, GraphMarker (1D only), MaterialAppearance, Transformation (2D and 3D only), Transparency (3D only)
See Also
RadiationPattern (Export)