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

1 view (last 30 days)
good day! Help me please. How can i get rid of the yellow color in this attached contour filled plot?. Thanks.
  5 Comments
MattyK
MattyK on 12 Nov 2015
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 on 12 Nov 2015
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.

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 11 Nov 2015
Edit the colormap for that figure so that the last value in the matrix is [1 1 1].
  8 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Contour Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!