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

2 visualizzazioni (ultimi 30 giorni)
good day! Help me please. How can i get rid of the yellow color in this attached contour filled plot?. Thanks.
  5 Commenti
MattyK
MattyK il 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 il 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.

Accedi per commentare.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Contour Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by