Why has the default colormap of (surface) plots changed in MATLAB R2014b?

조회 수: 4 (최근 30일)
If I create a plot, the default colormap in MATLAB R2014b is different from previous versions. Why has the default colormap changed?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2014년 5월 19일
As of MATLAB R2014b the default colormap has changed from Jet to Parula.
Jet is a rainbow colormap. This type of colormap does not contain magnitude messages. This means that unless you have a colorbar or know the order of colors it is difficult to tell which color represents a higher or lower value than another color. In addition rainbow colormaps cause problems for readers with color deficiencies (8% of Caucasian men are color deficient).
The new colormap, Parula, does not show these disadvantages. It is based on changes in hue and intensity allowing a good readability for all readers, even if a plot is printed in gray scale.
The following image shows surf(peaks) with Parula being used as colormap:
While this image shows the same plot with Jet as colormap:
For further information about colormaps, please see http://pdf.aminer.org/000/240/853/designing_for_users_with_color_vision_deficiency_effective_color_combinations.pdf .
In order to set the default colormap back to Jet please use
set(groot,'DefaultFigureColormap',jet(64))
The following blog entry gives additional information about the change in default colormap <http://blogs.mathworks.com/steve/2014/10/20/a-new-colormap-for-matlab-part-2-troubles-with-rainbows/>

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Orange에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by