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