Circular progress bar charts
Version 1.0 (136 KB) by giannit
Radial/Circular progress bar charts
Updated 16 May 2021
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 (2023). 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 CompatibilityWindows macOS Linux
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.