Interact with Polar Plot

This example shows how to interact with a polar plot created using polarpattern class.

Create Polar Plot of Helix Antenna

Create a helix antenna that has a 28 mm radius, a 1.2 mm width and 4 turns.

hx = helix('Radius',28e-3,'Width',1.2e-3,'Turns',4);

Calculate the directivity of the antenna at 1.8 GHz.

H = pattern(hx,1.8e9,0,0:1:360);

Display the polar plot of the antenna.

P = polarpattern(H);

Interact with Polar Plot

Hover over the plot. You see a message on top of the plot: Right click to interact with the plot. Right-click anywhere in the Polar Measurement window to display a context menu for interacting with the plot. For example, right-click outside the plot to show the Main context menu. Right-click inside the plot to show the Display context menu.

Update Angle and Magnitude Values

The angular values are around the circumference of the polar plot. Right-click any of the angle values to open ANGLE context menu. By default, the angles are displayed CCW (counterclockwise).

Change the resolution from 15 degrees to 10 degrees.

The magnitude values are on the radial lines of the plot. Right-click any of the magnitude values to open the MAGNITUDE context menu. Choose properties from the context menu to change the magnitude limits, magnitude ticks, or font size.

Add Cursors and Calculate Angle Span

Add cursors at 60 degrees and 105 degrees.

To add a cursor from the MAIN or DISPLAY context menus, select Measurements > Add Cursor. After adding the cursor, place the mouse pointer on the cursor and drag it to 60 degrees.

You can also add a cursor by double-clicking on the angle values. Double-click 105 to add a cursor. Right-click the newly added cursor and move the cursor to exact value of 105 degrees.

You can also interpolate the two angle values to 60 degrees and 150 degrees. Right-click on each cursor and choose Interpolate from the CURSOR context menu. To set the angle span, from the MAIN or DISPLAY context menu, select Measurements > Angle Span.