詳解:MATLAB の円グラフ(色設定)(Setting Default Colors of Pie Chart)

Version 1.0.1 (352 KB) by michio
It provides a function to set a color scheme to a pie chart and a detailed description of how pie chart is organized with patch/text objects
17 Downloads
Updated 18 Mar 2023

Inspired by the comment on MATLAB Answers.

”Unforunately the pie() function does not allow you to directly specify the face color of each wedge as inputs.”(Ref: MATLAB Answers: How can i change the colours of segmentation on a chart pie?https://jp.mathworks.com/matlabcentral/answers/515880-how-can-i-change-the-colours-of-segmentation-on-a-chart-pie)

This File Exchange entry provides the description of how the pie chart is organized and how to set its color to the default color scheme.

Please note that the description is in Japanese. Please leave a comment if you would like an English version.

Cite As

michio (2024). 詳解:MATLAB の円グラフ(色設定)(Setting Default Colors of Pie Chart) (https://github.com/mathworks/default-coloring-pie-chart), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.1

Added Japanese title

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.