How can I specify a custom colorbar for PIE plots in different subplots?

2 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
There is no direct way to specify a different colormap for each subplot, you have to manually change the "Facecolor" property of each element. Use the attached MATLAB file: "PIE_colormap.m" as an example to customize the colormap for different subplots in a given figure.
If you would like to use different colormaps on each 'axes' object in the same figure, read Technical Note 1215 on the MathWorks support website.

More Answers (0)

Categories

Find more on Color and Styling in Help Center and File Exchange

Products


Release

R2006a

Community Treasure Hunt

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

Start Hunting!