Main Content

PatternPlotOptions

Creates option list to customize 3-D radiation pattern for pattern overlay option

Description

patternplot = PatternPlotOptions creates an option list for a 3-D radiation pattern for pattern overlay option.

example

patternplot = PatternPlotOptions(Name=Value) returns a pattern plot option list based on the properties specified as Name-Value Arguments. Properties that you do not specify retain their default values.

example

Examples

collapse all

Plot the radiation pattern of a helix antenna with transparency specified as 0.5.

p = PatternPlotOptions
p = 
  PatternPlotOptions with properties:

      Transparency: 1
         SizeRatio: 0.9000
    MagnitudeScale: []
     AntennaOffset: [0 0 0]

p.Transparency = 0.5;
ant = helix;
pattern(ant,2e9,patternOptions=p)

Figure contains 2 axes objects and other objects of type uicontrol. Axes object 1 contains 4 objects of type patch, surface. Hidden axes object 2 contains 17 objects of type surface, line, text, patch.

To understand the effect of Transparency, chose Overlay Antenna in the radiation pattern plot.

This option overlays the helix antenna on the radiation pattern.

Input Arguments

collapse all

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: Transparency=0.1

Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

Example: 'Transparency',0.1

Transparency of the 3-D radiation pattern, specified as a scalar value between 0 and 1.

Example: 0.5

Data Types: double

Relative size of the antenna to the radiation pattern, specified as a positive scalar.

Example: 1

Data Types: double

Position of the antenna with the pattern center as the origin, specified as a three-element vector of [x, y, z] coordinates.

Example: [1,0,0]

Data Types: double

Scale of the radiation pattern, specified as a two-element vector of minimum magnitude and maximum magnitude. If this property is empty, the radiation pattern plot is of the full range magnitude.

Example: [0,1]

Data Types: double

Version History

Introduced in R2019a