colorbar

1 次查看(过去 30 天)
S
S 2011-8-3
Hi folks,
I have got my data plotted with colormap jet. As far as I know we can define an argument for jet which define the number of colors in colorbar.My original plots are in jet(64).Is there a way that I can change this number from 64 to any other number like 128 without plotting them again?appreciate your help.

回答(1 个)

Oleg Komarov
Oleg Komarov 2011-8-3
load flujet
image(X)
colormap(jet)
colormap(jet(128))
  2 个评论
S
S 2011-8-5
Thank you Oleg!
Oleg Komarov
Oleg Komarov 2011-8-6
Please accept it if you think I answered your question properly.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Colormaps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by