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).
Citation pour cette source
giannit (2024). Circular progress bar charts (https://www.mathworks.com/matlabcentral/fileexchange/92348-circular-progress-bar-charts), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2021a
Compatible avec les versions R2006a à R2021a
Plateformes compatibles
Windows macOS LinuxTags
Remerciements
Inspiré par : radialBar
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0 |