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

2 visualizaciones (últimos 30 días)
I would like to specify a different colormap for each subplot in my figure.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre Color and Styling en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2006a

Community Treasure Hunt

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

Start Hunting!

Translated by