OPPS i forgot to attach the image
how to show more color and range in color bar ?
조회 수: 9 (최근 30일)
이전 댓글 표시
Hi I have this image ( please see the attached ) and I want to show more color and range ( value) in my color map. How can I do that ? Thanks for your code/help
-Akim
채택된 답변
Walter Roberson
2018년 1월 8일
The default colormap has only 64 entries. You can get finer granularity by calling
cmap = parula(256); %calculate parula colormap with 256 entries
colormap(cmap); %activate given colormap
But this might not help, depending how you created the plot. I suspect you might have done something like a scatter() followed by a caxis() ?
댓글 수: 6
Walter Roberson
2018년 1월 9일
Can you attach the .txt file? You may need to zip it to be able to attach it.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Colormaps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!