How can I specify a custom colorbar for PIE plots in different subplots?
2 次查看(过去 30 天)
显示 更早的评论
I would like to specify a different colormap for each subplot in my figure.
采纳的回答
MathWorks Support Team
2009-6-27
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Color and Styling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!