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).
Cite As
giannit (2024). Circular progress bar charts (https://www.mathworks.com/matlabcentral/fileexchange/92348-circular-progress-bar-charts), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with R2006a to R2021a
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: radialBar
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0 |