area_spider_plot( data, plotArea )

版本 1.1.0.0 (3.8 KB) 作者: Sarah Blum
Plot data in a circular spider (radar) plot either as lines or as shaded area.
159.0 次下载
更新时间 2018/5/29

查看许可证

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

引用格式

Sarah Blum (2024). area_spider_plot( data, plotArea ) (https://www.mathworks.com/matlabcentral/fileexchange/67524-area_spider_plot-data-plotarea), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Polar Plots 的更多信息
致谢

参考作品: Radar plot

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
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