Skip to main content

Antenna Radiation Pattern

What is an antenna radiation pattern?​

An antenna radiation pattern (also known as a radiation diagram or antenna pattern) is a plot of how strongly an antenna radiates in each direction, measured in the far field. It is usually drawn as gain relative to the peak, in decibels, as a 3D surface or as 2D polar slices. The same pattern applies when the antenna receives.

A polar plot and a 3D radiation pattern of an eight-element phased array in a dark navy theme. The polar plot shows a narrow horizontal beam steered 20 degrees off centre with smaller side lobes and a broad vertical cut, with a dashed circle at minus 3 dB. The 3D chart shows the same pattern as a lit surface coloured from blue for low gain to red for the main beam

E-plane and H-plane cuts and the 3D pattern of an eight-element linear array steered 20° off broadside (computed from the array factor). Try the interactive version.

Key takeaways
  • A radiation pattern shows relative gain against direction. Polar plots are slices through the full 3D pattern, usually the E-plane and H-plane.
  • Read the main lobe, the half-power (−3 dB) beamwidth, the nulls, the side lobes and the front-to-back ratio.
  • Most patterns are plotted in dB, which makes side lobes 20 or 30 dB down visible; a linear plot hides them.
  • dBi compares an antenna with an isotropic source and dBd with a half-wave dipole: dBd = dBi − 2.15.
  • A phased array steers its beam by shifting the phase of the signal at each element, with no moving parts.

Far field, directions and the pattern​

An antenna's field changes shape close to the antenna. Far enough away, in the far field, the shape stops changing with distance: only the strength falls, as 1/r for the field and 1/r² for the power. The radiation pattern is that far-field shape, so it depends only on direction.

Directions use spherical coordinates. The angle θ (theta) is measured down from the z-axis, usually the vertical, and the angle φ (phi) round the horizon from the x-axis. Elevation is 90° − θ, and azimuth is φ.

What gets plotted is usually the normalised power pattern: the power radiated per unit solid angle in each direction, divided by its maximum. In decibels the peak is 0 dB and every other direction is negative. Some datasheets plot absolute gain in dBi instead, so the peak sits at the antenna's gain figure.

Antennas are reciprocal: a passive antenna receives best from the directions in which it transmits best, so one pattern serves both jobs.

E-plane and H-plane cuts​

A full 3D pattern is hard to read on paper, so most datasheets show two slices through the main beam:

  • The E-plane contains the direction of maximum radiation and the electric field. For a vertically polarised antenna it is a vertical slice.
  • The H-plane contains the direction of maximum radiation and the magnetic field, at right angles to the E-plane. For a vertically polarised antenna it is the horizontal slice.

On the left, a vertical half-wave dipole inside its doughnut-shaped pattern, crossed by a shaded vertical plane labelled E-plane, which contains the wire, and a shaded horizontal plane labelled H-plane. On the right, the E-plane cut drawn as a figure of eight with nulls along the wire, and the H-plane cut drawn as a circle

Some datasheets label the cuts by coordinate plane instead: XY (the horizontal plane), XZ and YZ (two vertical planes). Others say azimuth and elevation pattern. Check which axis the antenna lies along before matching the labels to E and H, because the same physical slice is the E-plane for one mounting and the H-plane for another.

How to read an antenna radiation pattern​

Read a radiation pattern from the main lobe outwards: find the peak, measure the beamwidth between the −3 dB points, then check how far down the nulls, side lobes and back lobe sit.

A polar plot in decibels of a directional antenna pointing right, with numbered callouts: 1 the main lobe at 0 dB, 2 the half-power beamwidth of 17 degrees between the minus 3 dB points, 3 the first null, 4 the first side lobe 12.9 dB below the peak, and 5 the back lobe, giving a front-to-back ratio of 20 dB

  1. Main lobe. The lobe containing the peak, the direction the antenna is designed for. On a normalised plot its tip touches 0 dB.
  2. Half-power beamwidth (HPBW). The angle between the two −3 dB points either side of the peak, where the power has halved. A datasheet gives one for each cut. The angle between the first nulls (FNBW) is wider, often a little over twice the HPBW.
  3. Nulls. Directions of very low radiation between lobes. Designers can point a null at an interfering transmitter.
  4. Side lobes. Smaller lobes off the main beam. The side-lobe level (SLL) is the highest, or the first, side lobe in dB below the peak. A uniform linear array gives about −13 dB; tapering the element amplitudes lowers it but widens the beam.
  5. Back lobe and front-to-back ratio. The front-to-back ratio (F/B) is the peak gain divided by the gain in the opposite direction, in dB. A high F/B stops a directional antenna from hearing, or interfering with, what is behind it.

To describe a pattern in one sentence, give the gain, the beamwidth in each plane, the side-lobe level and the F/B. For the diagram: "Peak gain at 0°, 17° half-power beamwidth, first side lobe at −12.9 dB, front-to-back ratio 20 dB."

Polar plots in dB or linear scale​

The radius of a polar pattern can be the power in dB, the power on a linear scale, or the field strength on a linear scale. The same antenna looks very different on each:

Relative to the peakPower (linear)Field (linear)On a linear power plot
0 dB11The tip of the main lobe
−3 dB0.50.707Halfway out: the half-power point that sets the beamwidth
−10 dB0.10.316A tenth of the way out: a big side lobe looks small
−20 dB0.010.1One per cent: a back lobe 20 dB down is barely a dot
−30 dB0.0010.032Invisible

A dB plot needs a floor, the level drawn at the centre, often −30 or −40 dB. Anything weaker is clipped to the centre, so on a −30 dB plot a null that is only 35 dB down looks as if it reaches zero. The demo's floor is −40 dB. The dashed circle on most plots marks −3 dB for reading the beamwidth.

Switch the demo's Scale to Linear power to see the side lobes almost disappear.

Directivity, gain, dBi and dBd​

Directivity (D) is how much an antenna concentrates power in its best direction, compared with an isotropic antenna radiating the same total power equally in all directions:

D=4π Umax⁡Prad=4π ∣F∣max⁡2∮∣F(θ,ϕ)∣2 dΩD = \frac{4\pi\, U_{\max}}{P_{\text{rad}}} = \frac{4\pi\, |F|_{\max}^2}{\displaystyle\oint |F(\theta,\phi)|^2 \, d\Omega}

where U is the power per unit solid angle and F the field pattern. The demo computes D by summing the pattern over a 1° grid on the sphere.

Gain (G) is directivity times the radiation efficiency η, which accounts for power lost as heat in the antenna: G = ηD. A lossless antenna has G = D. Some datasheets also include the mismatch loss and call the result realised gain.

Gain is quoted in decibels against a reference antenna:

  • dBi is relative to an isotropic radiator, which has 0 dBi.
  • dBd is relative to a half-wave dipole, which has 2.15 dBi. So dBd = dBi − 2.15, and a 9 dBi antenna is a 6.85 dBd antenna.

Directivity is linked to the beam size. For a single main beam with small side lobes, Kraus's approximation is D≈41,253/(θE θH)D \approx 41{,}253 / (\theta_E\, \theta_H), with the E-plane and H-plane beamwidths in degrees (41,253 is the number of square degrees in a sphere). A beam 20° wide in both planes gives about 103, or 20 dBi.

Radiation patterns of common antennas​

Each common antenna has a recognisable pattern shape and directivity, from the isotropic reference at 0 dBi to arrays whose directivity grows with the number of elements.

AntennaPattern shapeDirectivityFormula or rule
IsotropicSphere: the same in every direction. A theoretical reference1 (0 dBi)F=1F = 1
Short (Hertzian) dipoleDoughnut round the wire, nulls along it. HPBW 90°1.5 (1.76 dBi)F=sin⁡θF = \sin\theta
Half-wave dipoleSlightly flatter doughnut. HPBW 78°1.64 (2.15 dBi)F=cos⁡(π2cos⁡θ)sin⁡θF = \dfrac{\cos(\frac{\pi}{2}\cos\theta)}{\sin\theta}
Quarter-wave monopoleTop half of the dipole's doughnut, above a ground plane. Omnidirectional in azimuth3.28 (5.16 dBi) on an infinite ground planeDipole pattern for θ ≤ 90°, nothing below
Small loopDoughnut like the short dipole, with nulls along the loop's axis1.5 (1.76 dBi)F=sin⁡θF = \sin\theta, with θ from the loop axis
Patch (microstrip)One broad lobe away from the ground planeAbout 7 dBi in the demo's model (5 dBd)Two radiating slots: cos⁡(kL2sin⁡θ)\cos(\frac{kL}{2}\sin\theta) in the E-plane
Yagi-UdaEnd-fire beam along the boom, with side lobes and a back lobeRises with the number of elements and the boom lengthMutual coupling between a driven element, a reflector and directors
Helical (axial mode)End-fire beam along the helix axis, circularly polarisedKraus's empirical D≈kNC2S/λ3D \approx k N C^2 S / \lambda^3, with kk about 12 to 15N turns of circumference C and spacing S
HornOne main lobe, low side lobes, small back lobeFrom the aperture area AD=4πλ2εapAD = \dfrac{4\pi}{\lambda^2}\varepsilon_{ap} A, with εap\varepsilon_{ap} about 0.5 for an optimum-gain pyramidal horn
Phased arrayA narrow beam that can be steered electronicallyAbout 2Nd/λ2Nd/\lambda for a broadside line of N isotropic elementsElement pattern × array factor

The dipole, monopole and small loop are omnidirectional: their pattern is a circle in the horizontal plane, so they cover every compass direction equally. An "omnidirectional antenna radiation pattern" usually means this doughnut. The patch, Yagi, helix and horn are directional: one main beam and as little as possible elsewhere.

The figures above come from the textbook models in the Sources. A real antenna's mounting, cable and nearby metal change its pattern, so the measured datasheet pattern is the reference for a specific product.

Array factor and beam steering​

An array of identical elements has a pattern equal to the element pattern times the array factor, which depends only on where the elements are and how they are fed. For N equal elements spaced d apart in a line, with a phase step β from one element to the next:

AF(γ)=sin⁡(Nψ/2)Nsin⁡(ψ/2),ψ=kdcos⁡γ+β,k=2πλAF(\gamma) = \frac{\sin(N\psi/2)}{N \sin(\psi/2)}, \qquad \psi = kd\cos\gamma + \beta, \qquad k = \frac{2\pi}{\lambda}

where γ is the angle from the line of elements. Feeding all elements in phase (β = 0) puts the beam at broadside, at right angles to the line. To steer the beam an angle θ₀ away from broadside, the phase step is β = −kd sin θ₀. Phase shifters or time delays behind each element set β, so a phased array moves its beam without moving the antenna.

Numbers from the demo, for 8 half-wave dipoles at d = 0.5λ in front of a reflector:

SteeringHPBW in the scan planeFirst side lobeDirectivity
0°12.8°−12.8 dB15.95 dBi
20°13.5°−12.8 dB15.87 dBi
45°17.2°−11.9 dB15.65 dBi

The beam widens as it steers, roughly as 1/cos θ₀, because the array looks shorter from an angle. Spacing matters too: if d/λ ≥ 1/(1 + |sin θ₀|), a second full-size beam, a grating lobe, appears. At 30° steering that limit is 0.67λ, and the demo flags it when you go past it.

A line of elements with nothing behind it radiates the same beam on both sides of the line, at 180° − θ₀. Array panels put a reflector or ground plane about a quarter-wave behind the elements to remove that mirror beam, which the demo models with its "Reflector behind array" option.

Antenna radiation pattern measurement​

Patterns are measured by turning the antenna under test on a positioner while a fixed probe antenna transmits or receives, and recording the signal at each angle. The test usually takes place in an anechoic chamber, a room lined with radio-absorbing foam cones so that the walls don't reflect energy back. IEEE Std 149 sets out the recommended practice.

The probe has to be in the far field. The usual rule for an antenna whose largest dimension is D is

r≥2D2λr \geq \frac{2D^2}{\lambda}

which keeps the phase error across the aperture below π/8 (22.5°); r should also be much larger than D and λ. A 1 m dish at 10 GHz (λ = 3 cm) needs at least 67 m. A 30 cm panel at 2.4 GHz needs 1.44 m. Large antennas are measured in a compact range, where a reflector makes a plane wave in a short room, or by near-field scanning, where a probe samples the field close to the antenna and a transform computes the far-field pattern.

A full measurement is a large grid: one cut every degree, at many frequencies and in both polarisations, compared against simulation cut by cut.

Where antenna radiation patterns are used​

Radiation patterns are used wherever the direction of a signal matters: radar, direction finding, antenna design, wireless networks and satellite links.

  • Radar and electronic warfare. Beamwidth sets angular resolution, side lobes set how easily clutter or jamming leaks in, and phased arrays scan beams electronically. See how SciChart is used in aerospace and defence.
  • Signals intelligence and direction finding. Direction-finding systems compare the signals received on antennas with known patterns to estimate where a transmitter is. See SciChart for SIGINT.
  • Antenna design and test. Simulated and measured patterns are compared cut by cut, and plotted against frequency. See SciChart in design, emulation and test.
  • Mobile networks and Wi-Fi. Sector antennas, beamforming arrays in 5G base stations and access points are chosen by their beamwidth and tilt.
  • Satellites and radio astronomy. Dish patterns set coverage areas and how close to the Sun or another satellite an antenna can point.

The pattern is one half of an antenna's behaviour; the other is its impedance and match, which is read on a Smith chart.

Polar plot vs 3D pattern vs rectangular plot​

A polar plot is best for reading one cut at a glance, a 3D pattern for seeing the whole shape, and a rectangular plot for measuring low side lobes accurately.

ChartShowsBest forWatch out for
Polar plot (E-plane and H-plane cuts)Gain against angle in one plane, as a shape round the antennaDatasheets; reading beamwidth, nulls and F/B at a glanceTwo cuts can miss lobes that lie between them
3D radiation patternThe whole pattern as a surface coloured by gainSeeing the shape in all directions; steered or tilted beamsHard to read exact values; needs rotating
Rectangular (Cartesian) plotGain in dB against angle on x-y axesComparing side-lobe levels and narrow beams preciselyLoses the sense of direction
Contour or heatmap over two anglesGain over azimuth and elevation (or u-v) as colourPhased arrays and grating lobes over the whole scanNeeds a colour key; less familiar to non-specialists
Smith chartImpedance and reflection, not the patternMatching the antenna to its feed lineSays nothing about direction

On a radar chart or a polar area chart, the angle is a category, not a physical direction; a radiation pattern needs a continuous angle in degrees.

Common radiation pattern mistakes​

Most misreadings of radiation patterns come from the scale, the choice of cut or the unit of gain.

  • Mixing dB and linear radii. Comparing a dB plot with a linear one, or reading a dB plot's radius as if it were linear, makes side lobes look far bigger or smaller than they are. Check the radial axis labels.
  • Treating one cut as the whole pattern. A cut through the main beam can miss a lobe that sits between the E-plane and H-plane. Look at the 3D pattern, or at several cuts, before calling an antenna clean.
  • Confusing dBi and dBd. The same antenna reads 2.15 dB lower in dBd. Convert to one unit before comparing datasheets.
  • Calling directivity gain. Gain includes losses; a lossy antenna has the same pattern shape but less gain.
  • Reading the floor as a null. A pattern clipped at −30 dB shows every weaker direction at the centre. The real null may be shallower or deeper.
  • Measuring too close. Inside 2D²/λ the measured pattern has filled-in nulls and a wrong beamwidth.
  • Ignoring the mounting. A mast, a vehicle roof or a hand changes the pattern; a free-space pattern doesn't describe the installed antenna.
  • Using a normalised pattern as absolute gain. A normalised plot puts every antenna's peak at 0 dB. Add the gain figure to read absolute values.

How to plot an antenna radiation pattern in JavaScript, React or Angular​

Antenna software works with patterns sampled every degree, over many frequencies and both polarisations, and often redraws them as a beam steers. The demo below computes each pattern in the browser from textbook models: every time you change a control it recalculates the 0.5° polar cuts and a 3D surface sampled every 3°, and SciChart.js redraws both charts with WebGL and WebGPU.

Pick an Antenna: a half-wave dipole, a short dipole, a quarter-wave monopole, a patch, a Yagi-Uda (approximated as an end-fire array with the Hansen-Woodyard phase, which overstates its side lobes) or a linear phased array. For the Yagi and the array, Elements and Spacing (in wavelengths) set the size; for the array, Steering moves the beam and Reflector behind array removes the mirror beam. Scale switches both charts between dB and linear power. The readout gives the directivity in dBi and dBd, the beamwidth in each plane, the front-to-back ratio and the first side lobe. Hover over the polar chart for values, scroll to zoom, drag to pan, and drag the 3D chart to rotate it.

Here is the code for this chart. The pattern maths (element patterns, array factor, directivity, beamwidth and side lobes) is plain JavaScript. SciChart.js draws the cuts as polar line series and the 3D pattern as a lit triangle mesh.

// Antenna radiation patterns as a polar plot (E-plane and H-plane cuts) and a 3D surface, charted with SciChart.js
const {
SciChartPolarSurface,
PolarNumericAxis,
PolarLineRenderableSeries,
EPolarAxisMode,
EPolarLabelMode,
EAxisAlignment,
NumberRange,
XyDataSeries,
PolarCursorModifier,
PolarLegendModifier,
PolarMouseWheelZoomModifier,
PolarPanModifier,
PolarZoomExtentsModifier,
SciChart3DSurface,
NumericAxis3D,
Vector3,
BaseSceneEntity3D,
ESceneEntityType,
ImmediateLitMeshContext,
OrbitModifier3D,
MouseWheelZoomModifier3D,
ResetCamera3DModifier,
SciChartJsNavyTheme
} = SciChart;
// or, for npm, import { SciChartPolarSurface, ... } from "scichart"

// --- Pattern maths (plain JavaScript, no library needed) ---
// Directions are unit vectors (ux, uy, uz) with z up. Every antenna's main beam lies in the horizontal plane;
// the directional ones point along +x. Spacing and patch sizes are in wavelengths, so k = 2π.
const TWO_PI = 2 * Math.PI;
const PATCH_LENGTH = 0.35; // effective distance between the patch's two radiating edges (along z)
const PATCH_WIDTH = 0.4; // width of the radiating edges (along y)

// Normalised array factor of n equal elements with phase step psi: |Σ e^(j·i·psi)| / n
function arrayFactor(n, psi) {
const sinHalf = Math.sin(psi / 2);
if (Math.abs(sinHalf) < 1e-9) return 1;
return Math.abs(Math.sin((n * psi) / 2) / (n * sinHalf));
}

// Half-wave dipole along z: cos(π/2 · cos θ) / sin θ, where cos θ = uz
function halfWaveDipole(uz) {
const sin2 = 1 - uz * uz;
return sin2 < 1e-12 ? 0 : Math.abs(Math.cos((Math.PI / 2) * uz)) / Math.sqrt(sin2);
}

// Relative far-field strength |F| in direction (ux, uy, uz)
function fieldPattern(antenna, ux, uy, uz) {
const { type, elements, spacing, steerDeg, reflector } = antenna;
switch (type) {
case "short": // short (Hertzian) dipole along z: sin θ
return Math.sqrt(Math.max(0, 1 - uz * uz));
case "halfwave":
return halfWaveDipole(uz);
case "monopole": // quarter-wave monopole on a large ground plane: the dipole's top half
return uz < 0 ? 0 : halfWaveDipole(uz);
case "patch": {
// Two radiating slots facing +x over a ground plane (cavity model): nothing behind the ground plane
if (ux <= 0) return 0;
const a = Math.PI * PATCH_WIDTH * uy; // (k·W/2)·uy
const slot = Math.abs(a) < 1e-9 ? 1 : Math.sin(a) / a;
const pair = Math.cos(Math.PI * PATCH_LENGTH * uz); // two slots a distance L apart
const sin2 = 1 - ux * ux;
const polarisation = sin2 < 1e-12 ? 1 : (uz * uz + ux * ux * uy * uy) / sin2;
return Math.abs(slot * pair) * Math.sqrt(polarisation);
}
case "yagi": {
// Approximation: an end-fire row of half-wave dipoles along x with the Hansen-Woodyard phase delay
const kd = TWO_PI * spacing;
const psi = kd * ux - (kd + Math.PI / elements);
return halfWaveDipole(uz) * arrayFactor(elements, psi);
}
case "array": {
// A row of half-wave dipoles along y, phased to steer the beam steerDeg from broadside (+x)
const kd = TWO_PI * spacing;
const psi = kd * uy - kd * Math.sin((steerDeg * Math.PI) / 180);
let field = halfWaveDipole(uz) * arrayFactor(elements, psi);
if (reflector) field *= ux > 0 ? Math.sin((Math.PI / 2) * ux) : 0; // flat reflector λ/4 behind
return field;
}
default:
return 1; // isotropic
}
}

const toDb = (power) => 10 * Math.log10(Math.max(power, 1e-12));

// Directivity by numerical integration over the sphere (1° steps), and the direction of the peak
function analyse(antenna) {
const step = Math.PI / 180;
let total = 0;
let peak = 0;
let peakTheta = Math.PI / 2;
let peakPhi = 0;
for (let i = 0; i < 180; i++) {
const theta = (i + 0.5) * step; // midpoint rule in θ
const sinT = Math.sin(theta);
const cosT = Math.cos(theta);
for (let j = 0; j < 360; j++) {
const phi = j * step;
const f = fieldPattern(antenna, sinT * Math.cos(phi), sinT * Math.sin(phi), cosT);
total += f * f * sinT;
}
}
total *= step * step;
// Find the peak on a finer grid near the horizon, where every antenna here has its main beam
for (let i = 0; i <= 180; i++) {
const theta = (i * Math.PI) / 360 + Math.PI / 4; // 45° to 135°
for (let j = 0; j < 1440; j++) {
const phi = (j * Math.PI) / 720;
const f = fieldPattern(antenna, Math.sin(theta) * Math.cos(phi), Math.sin(theta) * Math.sin(phi), Math.cos(theta));
if (f * f > peak * (1 + 1e-9)) {
peak = f * f;
peakTheta = theta;
peakPhi = phi;
}
}
}
return { directivity: (4 * Math.PI * peak) / total, peak, peakTheta, peakPhi };
}

// A planar cut through the beam: the E-plane (vertical, containing the beam) or H-plane (horizontal) cut.
// Angles in degrees, 0.5° steps; gain in dB relative to the peak.
function patternCut(antenna, plane, analysis) {
const angles = [];
const gainDb = [];
const cosP = Math.cos(analysis.peakPhi);
const sinP = Math.sin(analysis.peakPhi);
for (let i = 0; i <= 720; i++) {
const deg = i / 2;
const a = (deg * Math.PI) / 180;
// E-plane: 0° is the beam direction on the horizon and 90° straight up. H-plane: compass azimuth from +x
const u = plane === "E" ? [Math.cos(a) * cosP, Math.cos(a) * sinP, Math.sin(a)] : [Math.cos(a), Math.sin(a), 0];
const f = fieldPattern(antenna, u[0], u[1], u[2]);
angles.push(deg);
gainDb.push(toDb((f * f) / analysis.peak));
}
return { angles, gainDb, beamDeg: plane === "E" ? 0 : (analysis.peakPhi * 180) / Math.PI };
}

// Half-power beamwidth and first side lobe of one cut, walking out from the beam on both sides
function beamMetrics(cut) {
const n = cut.gainDb.length - 1; // 720 steps of 0.5°, the last equal to the first
const at = (k) => cut.gainDb[((k % n) + n) % n];
const start = Math.round(cut.beamDeg * 2);
const top = at(start);
let width = 0;
let sideLobe = -Infinity;
for (const dir of [-1, 1]) {
let k = 1;
while (k < n / 2 && at(start + dir * k) >= top - 3) k++;
if (k >= n / 2) return { hpbw: 360, sideLobe: null }; // never 3 dB down: omnidirectional in this plane
const g0 = at(start + dir * (k - 1));
const g1 = at(start + dir * k);
width += (k - 1 + (g0 - (top - 3)) / (g0 - g1)) / 2; // linear interpolation, in degrees
while (k < n / 2 && at(start + dir * (k + 1)) <= at(start + dir * k)) k++; // down to the first null
while (k < n / 2 && at(start + dir * (k + 1)) > at(start + dir * k)) k++; // up to the next lobe
const backward = Math.abs(k - n / 2) <= 2; // a lobe pointing straight back is the back lobe
if (k < n / 2 && !backward) sideLobe = Math.max(sideLobe, at(start + dir * k) - top);
}
return { hpbw: width, sideLobe: Number.isFinite(sideLobe) && sideLobe > -40 ? sideLobe : null };
}

// Front-to-back ratio: the peak against the same elevation at the opposite azimuth (180° behind the beam)
function frontToBack(antenna, analysis) {
const ux = Math.sin(analysis.peakTheta) * Math.cos(analysis.peakPhi);
const uy = Math.sin(analysis.peakTheta) * Math.sin(analysis.peakPhi);
const f = fieldPattern(antenna, -ux, -uy, Math.cos(analysis.peakTheta));
return -toDb((f * f) / analysis.peak);
}

// Gain (dB) to colour: navy, blue, cyan, green, yellow, red
const STOPS = [[31, 58, 147], [47, 111, 222], [80, 199, 224], [59, 209, 111], [244, 208, 63], [239, 83, 80]];
function gainColour(t) {
const x = Math.min(1, Math.max(0, t)) * (STOPS.length - 1);
const i = Math.min(STOPS.length - 2, Math.floor(x));
const f = x - i;
const c = STOPS[i].map((v, m) => Math.round(v + f * (STOPS[i + 1][m] - v)));
return ((0xff << 24) | (c[0] << 16) | (c[1] << 8) | c[2]) >>> 0;
}

// The 3D surface: radius from the gain (dB above the floor, or linear power), sampled every 3° in θ and φ
const STEP_DEG = 3;
const N_THETA = 180 / STEP_DEG + 1;
const N_PHI = 360 / STEP_DEG;
function buildMesh(antenna, analysis, scale, floorDb) {
const points = [];
const colours = [];
for (let i = 0; i < N_THETA; i++) {
const theta = (i * STEP_DEG * Math.PI) / 180;
for (let j = 0; j < N_PHI; j++) {
const phi = (j * STEP_DEG * Math.PI) / 180;
const u = [Math.sin(theta) * Math.cos(phi), Math.sin(theta) * Math.sin(phi), Math.cos(theta)];
const f = fieldPattern(antenna, u[0], u[1], u[2]);
const power = (f * f) / analysis.peak;
const db = toDb(power);
const r = scale === "db" ? Math.max(0, (db - floorDb) / -floorDb) : power;
points.push([r * u[0], r * u[1], r * u[2]]);
colours.push(gainColour((db - floorDb) / -floorDb));
}
}
// Smooth normals from neighbouring points on the grid; where the surface pinches to a point, use the radial direction
const p = (i, j) => points[Math.min(N_THETA - 1, Math.max(0, i)) * N_PHI + ((j + N_PHI) % N_PHI)];
const normals = points.map((point, index) => {
const i = Math.floor(index / N_PHI);
const j = index % N_PHI;
const a = p(i + 1, j).map((v, m) => v - p(i - 1, j)[m]);
const b = p(i, j + 1).map((v, m) => v - p(i, j - 1)[m]);
let n = [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];
let length = Math.hypot(n[0], n[1], n[2]);
if (length < 1e-9) {
const theta = (i * STEP_DEG * Math.PI) / 180;
const phi = (j * STEP_DEG * Math.PI) / 180;
n = [Math.sin(theta) * Math.cos(phi), Math.sin(theta) * Math.sin(phi), Math.cos(theta)];
length = 1;
}
const sign = n[0] * point[0] + n[1] * point[1] + n[2] * point[2] < 0 ? -1 : 1; // point outwards
return n.map((v) => (sign * v) / length);
});
return { points, colours, normals };
}

// --- The polar chart: E-plane and H-plane cuts, with a −3 dB circle ---
const theme = new SciChartJsNavyTheme();
const COLOUR_E = "#F48420";
const COLOUR_H = "#50C7E0";
const polar = await SciChartPolarSurface.create(ui.polarDiv, { theme });
const angleAxis = new PolarNumericAxis(polar.wasmContext, {
polarAxisMode: EPolarAxisMode.Angular,
visibleRange: new NumberRange(0, 360),
autoTicks: false,
majorDelta: 30,
polarLabelMode: EPolarLabelMode.Horizontal,
drawMinorGridLines: false
});
angleAxis.labelProvider.formatLabel = (value) => (value >= 360 ? "" : `${value.toFixed(0)}°`);
polar.sciChartSurface.xAxes.add(angleAxis);
const radiusAxis = new PolarNumericAxis(polar.wasmContext, {
polarAxisMode: EPolarAxisMode.Radial,
axisAlignment: EAxisAlignment.Right,
autoTicks: false,
drawMinorGridLines: false
});
polar.sciChartSurface.yAxes.add(radiusAxis);
const polarLine = (name, stroke, extra = {}) => {
const series = new PolarLineRenderableSeries(polar.wasmContext, {
dataSeries: new XyDataSeries(polar.wasmContext, { dataSeriesName: name }),
stroke,
strokeThickness: 2.5,
...extra
});
polar.sciChartSurface.renderableSeries.add(series);
return series;
};
const halfPower = polarLine("−3 dB", "#FFFFFF", { strokeThickness: 1.5, strokeDashArray: [6, 4] });
const eCut = polarLine("E-plane", COLOUR_E);
const hCut = polarLine("H-plane", COLOUR_H);
polar.sciChartSurface.chartModifiers.add(
new PolarCursorModifier({ showTooltip: true }),
new PolarLegendModifier({ showCheckboxes: true, showSeriesMarkers: true }),
new PolarMouseWheelZoomModifier(),
new PolarPanModifier(),
new PolarZoomExtentsModifier()
);

// --- The 3D chart: the whole pattern as a lit surface, coloured by gain ---
const { sciChart3DSurface, wasmContext } = await SciChart3DSurface.create(ui.chart3dDiv, {
theme,
worldDimensions: new Vector3(200, 200, 200),
cameraOptions: { position: new Vector3(150, 190, -330), target: new Vector3(0, 100, 0) }
});
const axis3d = (title) => new NumericAxis3D(wasmContext, { axisTitle: title, visibleRange: new NumberRange(-1.1, 1.1), labelPrecision: 1 });
sciChart3DSurface.xAxis = axis3d("x (boresight)");
sciChart3DSurface.yAxis = axis3d("z (up)");
sciChart3DSurface.zAxis = axis3d("y");
sciChart3DSurface.chartModifiers.add(new OrbitModifier3D(), new MouseWheelZoomModifier3D(), new ResetCamera3DModifier());

// SciChart.js has no built-in series for a closed surface of any shape, so this scene entity draws the
// triangles itself with ImmediateLitMeshContext, in data coordinates (chart X = x, chart Y = z up, chart Z = y)
let mesh = null;
class RadiationPatternMesh extends BaseSceneEntity3D<any> {
type = ESceneEntityType.Custom;
constructor(context) {
super(context);
this.setNativeEntity(context.SCRTSceneEntity.implement(this));
}
Render() {
if (!this.isVisible || !this.currentRenderPassData || !mesh) return;
const { xCalc, yCalc, zCalc, worldDimensions } = this.currentRenderPassData;
const context = new ImmediateLitMeshContext(this.webAssemblyContext, this.webAssemblyContext.eTSRRenderMode.TSR_RENDERMODE_TRIANGLES);
const emit = (index) => {
const [x, y, z] = mesh.points[index];
const [nx, ny, nz] = mesh.normals[index];
context.normal3(nx, nz, ny);
context.setVertexColor(mesh.colours[index]);
context.setVertex3(xCalc.getCoordinate(x) - worldDimensions.x / 2, yCalc.getCoordinate(z), zCalc.getCoordinate(y) - worldDimensions.z / 2);
};
for (let i = 0; i < N_THETA - 1; i++) {
for (let j = 0; j < N_PHI; j++) {
const a = i * N_PHI + j;
const b = i * N_PHI + ((j + 1) % N_PHI);
const c = a + N_PHI;
const d = b + N_PHI;
[a, c, b, b, c, d].forEach(emit); // two triangles per grid cell
}
}
context.dispose();
}
}
sciChart3DSurface.rootEntity.children.add(new RadiationPatternMesh(wasmContext));

// --- The controls ---
const FLOOR_DB = -40;
const toXy = (series, x, y) => {
series.dataSeries.clear();
series.dataSeries.appendRange(x, y);
};
const formatDb = (v) => (v === null ? "none" : `${v.toFixed(1)} dB`);

function update() {
const type = ui.typeSelect.value;
const scale = ui.scaleSelect.value;
const antenna = {
type,
elements: Number(ui.elementsInput.value),
spacing: Number(ui.spacingInput.value),
steerDeg: Number(ui.steerInput.value),
reflector: ui.reflectorCheckbox.checked
};
ui.elementsOutput.textContent = String(antenna.elements);
ui.spacingOutput.textContent = `${antenna.spacing.toFixed(2)} λ`;
ui.steerOutput.textContent = `${antenna.steerDeg}°`;
// Only show the controls that apply to the chosen antenna
const isArray = type === "array" || type === "yagi";
for (const id of ["elements", "spacing"]) ui.labelFor(id).style.display = isArray ? "" : "none";
for (const id of ["steer", "reflector"]) ui.labelFor(id).style.display = type === "array" ? "" : "none";

const analysis = analyse(antenna);
const e = patternCut(antenna, "E", analysis);
const h = patternCut(antenna, "H", analysis);
const radius = (db) => (scale === "db" ? Math.max(db, FLOOR_DB) : Math.pow(10, db / 10));
toXy(eCut, e.angles, e.gainDb.map(radius));
toXy(hCut, h.angles, h.gainDb.map(radius));
toXy(halfPower, e.angles, e.angles.map(() => (scale === "db" ? -3 : 0.5)));
radiusAxis.visibleRange = scale === "db" ? new NumberRange(FLOOR_DB, 0) : new NumberRange(0, 1);
radiusAxis.majorDelta = scale === "db" ? 10 : 0.25;
radiusAxis.labelProvider.formatLabel = (value) => (scale === "db" ? (value === 0 ? "0 dB" : value.toFixed(0)) : value.toFixed(2));

mesh = buildMesh(antenna, analysis, scale, FLOOR_DB);
sciChart3DSurface.invalidateElement();
ui.keyMin.textContent = `${FLOOR_DB} dB`;
ui.keyBar.style.background = `linear-gradient(to right, ${STOPS.map((c) => `rgb(${c.join(",")})`).join(", ")})`;

const eMetrics = beamMetrics(e);
const hMetrics = beamMetrics(h);
const dBi = 10 * Math.log10(analysis.directivity);
const fb = frontToBack(antenna, analysis);
const beamAz = Math.round((analysis.peakPhi * 180) / Math.PI);
const grating = type === "array" && antenna.spacing * (1 + Math.abs(Math.sin((antenna.steerDeg * Math.PI) / 180))) >= 1;
const width = (m) => (m.hpbw >= 360 ? "omni" : `${m.hpbw.toFixed(1)}°`);
ui.readout.textContent =
`Directivity ${dBi.toFixed(2)} dBi (${(dBi - 2.15).toFixed(2)} dBd) · ` +
`beam at azimuth ${beamAz > 180 ? beamAz - 360 : beamAz}° · ` +
`HPBW E-plane ${width(eMetrics)}, H-plane ${width(hMetrics)} · ` +
`front-to-back ${fb > 40 ? "> 40 dB" : `${fb.toFixed(1)} dB`} · ` +
`first side lobe E ${formatDb(eMetrics.sideLobe)}, H ${formatDb(hMetrics.sideLobe)}` +
(grating ? " · grating lobe: spacing too wide for this steering angle" : "") +
(type === "array" && !antenna.reflector ? ` · mirror-image beam at azimuth ${180 - antenna.steerDeg}° (no reflector)` : "");
}

ui.typeSelect.addEventListener("change", () => {
// Typical starting points: a 6-element Yagi with directors about 0.25 λ apart; an 8-element array at 0.5 λ
if (ui.typeSelect.value === "yagi") {
ui.spacingInput.value = "0.25";
ui.elementsInput.value = "6";
}
if (ui.typeSelect.value === "array") {
ui.spacingInput.value = "0.5";
ui.elementsInput.value = "8";
}
update();
});
for (const input of [ui.elementsInput, ui.spacingInput, ui.steerInput]) input.addEventListener("input", update);
ui.reflectorCheckbox.addEventListener("change", update);
ui.scaleSelect.addEventListener("change", update);
update();

Key points:

  • The cuts are PolarLineRenderableSeries on a SciChartPolarSurface. The angular PolarNumericAxis runs from 0 to 360° with 0° (the beam) on the right; the radial axis runs from the −40 dB floor at the centre to 0 dB at the rim, and values below the floor are clipped.
  • The −3 dB circle is an ordinary dashed polar line at a constant radius, so it appears in the legend and can be switched off.
  • The 3D pattern uses a custom scene entity: a class extending BaseSceneEntity3D whose Render() emits coloured, lit triangles with ImmediateLitMeshContext, converted from data to world coordinates with the axis calculators. This draws a closed surface of any shape, which a grid-based surface series can't.
  • OrbitModifier3D, MouseWheelZoomModifier3D and ResetCamera3DModifier rotate, zoom and reset the 3D view.

See it in the demo app: JavaScript polar line chart · React polar line chart · Angular polar line chart, and for 3D surfaces, JavaScript 3D surface mesh chart · React 3D surface mesh chart · Angular 3D surface mesh chart.

Go deeper: SciChart.js polar line chart documentation, the immediate mesh 3D documentation for custom 3D geometry, the 3D surface mesh documentation, and the Smith chart guide. For how RF and defence software uses SciChart, see SciChart for aerospace and defence. The same beam steering drives phased array ultrasonic testing: see non-destructive testing.

Frequently asked questions​

What is an antenna radiation pattern?​

An antenna radiation pattern is a plot of how strongly an antenna radiates, or receives, in each direction, measured far from the antenna. It is usually shown as gain relative to the peak, in decibels, either as a 3D surface around the antenna or as 2D polar plots of slices through it. Because antennas are reciprocal, the same pattern describes transmitting and receiving.

What is the difference between the E-plane and the H-plane?​

The E-plane is the slice through the radiation pattern that contains the direction of maximum radiation and the electric field. The H-plane is the slice at right angles to it, containing the direction of maximum radiation and the magnetic field. For a vertical dipole, the E-plane is any vertical plane through the wire and the H-plane is the horizontal plane.

What does a dipole antenna radiation pattern look like in 3D?​

A dipole's 3D radiation pattern is a doughnut (torus) around the wire. It radiates equally in every direction at right angles to the wire, and not at all along it. A vertical cut through the wire gives a figure of eight with nulls at the top and bottom; a horizontal cut gives a circle. A half-wave dipole has a directivity of 2.15 dBi and a half-power beamwidth of about 78 degrees in the E-plane.

What is the difference between dBi and dBd?​

dBi gives an antenna's gain in decibels relative to an isotropic antenna, an ideal source that radiates equally in all directions. dBd gives it relative to a half-wave dipole, which has 2.15 dBi. To convert, subtract 2.15: an antenna with 9 dBi has about 6.85 dBd. Quoting dBd makes the same antenna look 2.15 dB weaker, so check which unit a datasheet uses before comparing.

What is the half-power beamwidth of an antenna?​

The half-power beamwidth (HPBW) is the angle between the two directions either side of the main beam where the radiated power has fallen to half its peak value, which is 3 dB below the peak. It is measured on a cut through the main beam, so an antenna usually has one beamwidth in the E-plane and another in the H-plane. A narrower beam means higher directivity.

How do I plot an antenna radiation pattern in JavaScript?​

Compute or load the gain in dB at each angle of a cut, clip it at a floor such as -40 dB, and draw it as a line series on a polar chart with an angular axis from 0 to 360 degrees and a radial axis from the floor to 0 dB. Add a dashed circle at -3 dB to read the beamwidth. SciChart.js does this with SciChartPolarSurface, PolarNumericAxis and PolarLineRenderableSeries, and can draw the full 3D pattern on a SciChart3DSurface, in plain JavaScript, React or Angular.

Sources​

  • Balanis, C. A. (2016), Antenna Theory: Analysis and Design, 4th edition, Wiley. Radiation patterns, directivity, dipoles and monopoles, the cavity model of the patch, array factor and beam steering, horns.
  • Kraus, J. D. and Marhefka, R. J. (2002), Antennas for All Applications, 3rd edition, McGraw-Hill. The beam-area approximation of directivity, helical antennas, Yagi-Uda arrays.
  • IEEE Std 145-2025, IEEE Standard for Definitions of Terms for Antennas. Definitions of radiation pattern, E-plane and H-plane, directivity, gain and side lobes.
  • IEEE Std 149-2021, IEEE Recommended Practice for Antenna Measurements. Pattern measurement ranges and the far-field distance.
  • Hansen, W. W. and Woodyard, J. R. (1938), A new principle in directional antenna design. Proceedings of the IRE, 26(3), 333–345. The end-fire phase condition used for the demo's Yagi approximation.