area_spider_plot( data, plotArea )
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});
Cite As
Sarah Blum (2024). area_spider_plot( data, plotArea ) (https://www.mathworks.com/matlabcentral/fileexchange/67524-area_spider_plot-data-plotarea), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Polar Plots >
Tags
Acknowledgements
Inspired by: Radar plot
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.