File Exchange

image thumbnail

Radar plot

version 1.0.0.0 (1.91 KB) by David Said
Create a radar plot

28 Downloads

Updated 05 Oct 2011

View License

Legends and Line properties can be changed. No toolboxes required

Cite As

David Said (2020). Radar plot (https://www.mathworks.com/matlabcentral/fileexchange/33134-radar-plot), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (10)

Zafar Ali

How to change variables values for x1, x2,....etc with our own variable names?

please help me with the inputs of the function. What is the "varargin"?

henyan deng

Hi, How do I change the point names. Currently they read x1 = ..., x2= ... however I need them to be labelled.

Thanks for your posting,

I am stuck with the following error:

Not enough input arguments.

Error in radarPlot (line 14)
[M, N] = size(P,varargin);

Mr Smart

Sav Deb

Sorry,
I need a help.

How can I set the scale for radar plot to better visualize point positions along a radar axis?

Thank you

Alp

David Said

%% A small demo for this file

nPoints = 4;
nDimensions = 6;
P = rand(nDimensions, nPoints);
pointNames = arrayfun( @(i)sprintf('p_{%d}', i),...
1:nPoints, 'UniformOutput', false);

radarPlot(P, 'o:','LineWidth', 1.5, 'MarkerFaceColor', [0,0,0])
legend(pointNames{:}, 'Location', 'Best');
title('Radar Plot Demo');

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux