good day! Help me please. How can i get rid of the yellow color in this attached contour filled plot?. Thanks.

조회 수: 2 (최근 30일)
good day! Help me please. How can i get rid of the yellow color in this attached contour filled plot?. Thanks.
  댓글 수: 5
MattyK
MattyK 2015년 11월 12일
Okay. Basically i just applied a contourf function over a somewhat projection with the code:
m_contourf(lon,lat,data(lat,lon),[-20.5:-10.5])
Please take note that I tried restricting the axis limits of the contour i.e. [-20.5:-10.5] as the aim was to get rid of all values above -10.5
Thanks.
MattyK
MattyK 2015년 11월 12일
Okay. Basically i just applied a contourf function over a somewhat projection with the code:
m_contourf(lon,lat,data(lat,lon),[-20.5:-10.5])
Please take note that I tried restricting the axis limits of the contour i.e. [-20.5:-10.5] as the aim was to get rid of all values above -10.5
Thanks.

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

채택된 답변

Star Strider
Star Strider 2015년 11월 11일
Edit the colormap for that figure so that the last value in the matrix is [1 1 1].
  댓글 수: 8
MattyK
MattyK 2015년 11월 19일
Thank you very much and for your patience. I will try very hard.

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by