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).
Zitieren als
giannit (2025). Circular progress bar charts (https://www.mathworks.com/matlabcentral/fileexchange/92348-circular-progress-bar-charts), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2021a
Kompatibel mit R2006a bis R2021a
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert von: radialBar
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0 |