File Exchange

image thumbnail

radar plot

version 1.0.0.0 (1.63 KB) by Knut
A variant on radar/spider plot where different dimensions can have different scaling

8 Downloads

Updated 13 Oct 2016

View License

Plot NxM arrays as N different objects in a "scalar" M-dimensional space.

Comments and Ratings (1)

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);

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired by: Radar plot, spider_plot

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor