A modification of The Mathworks POLAR function, DIRPLOT generates directivity plots in the style commonly used in acoustic and RF work.
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.
Thanks, It's so useful...
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?
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).
Thanks, that exactly what I need now!
how i can download this file!!!!
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.
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!
Very useful and much better than the standard "polar" function.
very useful, thanks!
Thanks! very useful for polar plots with a minimum 'rho' value.
Just what I needed...simple to use and works as described
Great. Should be part of the baseline matlab plot functionality.
Just what I needed for my radiation patterns, thanks.
Works great. Easy to use and it solved my plotting problem immediately. Thanks!
Was thinking of doing this myself when I remembered Matlab Central. Thanks for the great function for polar plotting antenna data with negative db.
Thanks so much for developing this tool that can be used to plot antenna gain directivity
This has saved me hours of fiddling with the polar fuction - thank you!
Very very useful!
Fixed a bug that caused RHO to be plotted incorrectly if RHOMIN was specified, and RHO was less than RHOMIN. Thanks to Wajih Elsallal.
Changed contact email address only