Plot NxM arrays as N different objects in a "scalar" M-dimensional space.
Knut (2021). radar plot (https://www.mathworks.com/matlabcentral/fileexchange/59709-radar-plot), MATLAB Central File Exchange. Retrieved .
Inspired by: Radar plot, spider_plot
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
There is an error when running your example
featuredescriptor = {'Apples', 'Pears', 'Bananas', 'Tractor', 'Fertilizer'};
objectdescriptor = {'Peasant A', 'Peasant B', 'City-slicker'};
titlestring = 'Comparing peasants';
%%% ----> indata = rand(3,5).*[1 3 2 1 42];
indata = rand(3,5);
radar(indata, featuredescriptor, objectdescriptor, titlestring);[objs, dims] = size(indata);
Error message
>> radar(indata, featuredescriptor, objectdescriptor, titlestring);[objs, dims] = size(indata);
Error using -
Matrix dimensions must agree.
Error in radar (line 20)
indata_norm = (indata - sa) ./ (sp - sa);