colorbar

1 view (last 30 days)
S
S on 3 Aug 2011
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.

Answers (1)

Oleg Komarov
Oleg Komarov on 3 Aug 2011
load flujet
image(X)
colormap(jet)
colormap(jet(128))
  2 Comments
S
S on 5 Aug 2011
Thank you Oleg!
Oleg Komarov
Oleg Komarov on 6 Aug 2011
Please accept it if you think I answered your question properly.

Sign in to comment.

Categories

Find more on Colormaps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!