필터 지우기
필터 지우기

Contourf colorbar control :white and rainbow

조회 수: 2 (최근 30일)
Utsav
Utsav 2016년 5월 30일
댓글: Utsav 2016년 5월 30일
I have following plot with contourf, I used command contourf(dd,Z,SS); SS in the matrix
I need SS<5 to be displayed in white and above 5 in rainbow palette.
SS(SS<=5) = NaN; gives scissorcut image much to my chagrin
Please help friends!
  댓글 수: 1
Utsav
Utsav 2016년 5월 30일
I could find out the answer in the link
reply by Alessandro Toso
[hC hC] = contourf(interp2(e_av,2,'spline'),[0.12:0.01:0.3]); > set(hC,'LineStyle','none'); > colorbar;

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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