image thumbnail

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

version 1.0.1 (339 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

3 Downloads

Updated 17 Mar 2021

From GitHub

View license on GitHub

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 (2021). 詳解: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!
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.