area_spider_plot( data, plotArea )

Plot data in a circular spider (radar) plot either as lines or as shaded area.
164 téléchargements
Mise à jour 29 mai 2018

Afficher la licence

Adapted from https://de.mathworks.com/matlabcentral/fileexchange/33134-radar-plot?focused=5201638&tab=function

This function plots a spider plot using the columns of P as datapoints.
Inputs:
P : the data as matrix.
optional: a boolean value to indicate whether to plot the data as area or as line plot.
Example usage:
area_spider_plot(P): plots data as line plot
area_spider_plot(P, true): plots data as area plot

legendchoices = {'data1', 'data2', 'data3'};

figure('rend', 'painters', 'pos', [100,100, 1000,800])
idx = area_spider_plot(data);
legend(legendchoices{idx});

Citation pour cette source

Sarah Blum (2026). area_spider_plot( data, plotArea ) (https://fr.mathworks.com/matlabcentral/fileexchange/67524-area_spider_plot-data-plotarea), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2016a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Polar Plots dans Help Center et MATLAB Answers
Remerciements

Inspiré par : Radar plot

Version Publié le Notes de version
1.1.0.0

changed the indices of the legend entries to match the possibly resorted areas

1.0.0.0

added picture
changed description and title