View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.7 | 22 ratings Rate this file 48 Downloads (last 30 days) File Size: 5.02 KB File ID: #1251 Version: 1.4
image thumbnail



Steve Rickman (view profile)


18 Jan 2002 (Updated )

Makes polar directivity plots.

| Watch this File

File Information

A modification of The Mathworks POLAR function, DIRPLOT generates directivity plots in the style commonly used in acoustic and RF work.

Features include:
1. Plots -90 to +90 or -180 to +180 degrees based on range of input THETA, with 0 degrees at top center.

2. Produces semicircular plots when plot range is -90 to +90 degrees.

3. RHO is assumed to be in decibels and may include negative values.
4. Default automatic rho-axis scaling in "scope knob" factors.

5. Optional PARAMS argument allows manual setting of rho-axis scaling.

Required Products MATLAB
MATLAB release MATLAB 6.0 (R12)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (27)
16 Sep 2016 Amir Arayeshnia

Thanks, It's so useful...

21 Jun 2016 Laura

Laura (view profile)

14 Apr 2016 Cyrus Amiri

Hi there,

Thanks for this..I'm finding difficulties trying this code with 'hold on' function. It just wouldn't show 2 plots on the same graph. Any suggestions?

Comment only
25 Jan 2016 Jeremy Forbes

Hey, can someone explain how to input data using this function? (I'm new to matlab) I have a list of values for the angles (in degrees) and gains (in db with negative values).

Comment only
26 May 2015 farzane d

thanks,very useful.

14 Apr 2015 Martin Ma

Thanks, that exactly what I need now!

06 Feb 2015 Laura

Laura (view profile)

11 Apr 2014 maw well

how i can download this file!!!!

Comment only
15 May 2013 Tom

Tom (view profile)

Exactly what I needed!

One thing - when plotting different colors, the dotted grid lines tend to obscure the plot lines somewhat. Should they be grey instead of black? It's a very minor gripe, and I think the code is excellent.

18 Jan 2012 Marina

Marina (view profile)


Comment only
19 Dec 2011 Florian D L Peters

In order to enhance the elegance of the diagram a lot, one should add the line property


to several functions in which the coordinate system is drawn. then the function becomes really nice!

Comment only
04 Feb 2011 Syed Kashan

10 Oct 2008 Jon-Fredrik Hopperstad

Very useful and much better than the standard "polar" function.

21 Nov 2007 Lukasz Panek

very useful, thanks!

27 Oct 2006 nagendra nedunuru

26 Oct 2006 George Power

Thanks! very useful for polar plots with a minimum 'rho' value.

17 May 2006 David Choi

Just what I needed...simple to use and works as described

29 Jul 2004 Eric Thiel

Great. Should be part of the baseline matlab plot functionality.

13 Apr 2004 Pascal Aubry

Just what I needed for my radiation patterns, thanks.

16 Oct 2003 iman farghadan

11 Jul 2003 Todd Tracy

Works great. Easy to use and it solved my plotting problem immediately. Thanks!

24 Mar 2003 NWA NWA

22 Mar 2003 Robert Adams

Was thinking of doing this myself when I remembered Matlab Central. Thanks for the great function for polar plotting antenna data with negative db.

16 Mar 2003 Lina Chang

Thanks so much for developing this tool that can be used to plot antenna gain directivity

13 Mar 2003 Tom Westley

This has saved me hours of fiddling with the polar fuction - thank you!

27 Nov 2002 Ravi Krishna

16 Mar 2002 Suraj Mansukhani

Very very useful!

11 Jun 2012 1.3

Changed contact email address only

20 Jan 2014 1.4

Fixed a bug that caused RHO to be plotted incorrectly if RHOMIN was specified, and RHO was less than RHOMIN. Thanks to Wajih Elsallal.

Contact us