How can I specify a custom colorbar for PIE plots in different subplots?
2 views (last 30 days)
Show older comments
I would like to specify a different colormap for each subplot in my figure.
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Color and Styling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!