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

 采纳的回答

4 个评论

thank you.but how to save the current axes colormap in a variable?
if you read the link you save it into a variable as
cmap = colormap(ax);
Or just cmap = colormap() for the current axes.
it's done but when i write colormap(axes,mycmap) the colorbar is hide. why??

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Color and Styling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by