circBar(Y, lim, width, plot_spokes) generates a bar graph on polar coordinate system, printing one bar for each value of the numeric array Y. The progress of each bar is set with respect to the angular limit lim of the graph.
If Y contains only one element, then some text is added in the center of the circle:
• circBar(68, 125, 0.9, false) generates a one bar chart and prints '68 of 125'
• circBar(0.41, 1, 0.9, false) generates a one bar chart and prints '41%'
Run demo.m to see these and other examples.
This is a modified version of radialBar.m by Jerome Briot (mathworks.com/matlabcentral/fileexchange/61730-radialbar).
引用格式
giannit (2025). Circular progress bar charts (https://ww2.mathworks.cn/matlabcentral/fileexchange/92348-circular-progress-bar-charts), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2021a
兼容 R2006a 到 R2021a 的版本
平台兼容性
Windows macOS Linux标签
致谢
参考作品: radialBar
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0 |