Code covered by the BSD License  

Highlights from
polarLabels

4.66667

4.7 | 3 ratings Rate this file 17 Downloads (last 30 days) File Size: 3.46 KB File ID: #3483
image thumbnail

polarLabels

by Brian Katz

 

23 May 2003 (Updated 19 Jul 2004)

Modified polar plot to allow for rotation/dilation of polar plot labels.

| Watch this File

File Information
Description

Modified version of standard POLAR plot function to allow for rotation of plot labels (not the plot itself). Also allows for redefinition of the radius labels to allow for data containing negative values not having negative radii (as is often the case with dB in acoustics). Originally created for directivity plots but is uselful for other tasks. Should allow for half-circle plotting as well. Final addition allows for a transparent background in the polar plot for transparency overlays. Reverse compatible with POLAR syntax. Returns handles to text labels as well for latter modifications.

MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
16 Jul 2004 Tim Dalrymple

an example would help

18 Jul 2004 Brian Katz

Ex:> polarlabels([0:360]*pi/180,abs(sin([0:360]*pi/180))*10,'b',-90,-10);
This has been added to the file

17 Nov 2004 A Mancil

When I click on this link, the file appears corrupted, i.e. some characters appear to be in Chinese

29 Jun 2005 Dirk Oschlies

Works fine!
Excellent work. Exactly this function is missing in MatLab, when working with directivity patterns.

I just had to invert the signs of the angles, for "my" coordinate-system

27 Jan 2012 Nadia  
Please login to add a comment or rating.
Updates
19 Jul 2004

Added example command call.

Tag Activity for this File
Tag Applied By Date/Time
annotation Brian Katz 22 Oct 2008 07:01:46
customization Brian Katz 22 Oct 2008 07:01:46
polar Brian Katz 22 Oct 2008 07:01:46
label Brian Katz 22 Oct 2008 07:01:46
rotation Brian Katz 22 Oct 2008 07:01:46
graphics Brian Katz 22 Oct 2008 07:01:46

Contact us at files@mathworks.com