how to saving the modified colormap

hello, i have one question:i want to edit the colorbar and save. i want to do the same colorbar.any help?? thanks.
in matlab i have

 Respuesta aceptada

Walter Roberson
Walter Roberson el 8 de En. de 2016

0 votos

4 comentarios

Hgcvghh Vbbbb
Hgcvghh Vbbbb el 8 de En. de 2016
thank you.but how to save the current axes colormap in a variable?
Joseph Cheng
Joseph Cheng el 8 de En. de 2016
if you read the link you save it into a variable as
cmap = colormap(ax);
Walter Roberson
Walter Roberson el 9 de En. de 2016
Or just cmap = colormap() for the current axes.
Hgcvghh Vbbbb
Hgcvghh Vbbbb el 9 de En. de 2016
it's done but when i write colormap(axes,mycmap) the colorbar is hide. why??

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Color and Styling en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by