contourf change plot color
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to change the contourf plot color to white. I understand that Matlab has several built-in colormaps and changing between these is easy. However, I just want the contour lines on a white background. I know plotting on a white background can be done with the contour command, but the data I am plotting is incomplete. "Contourf" will complete the data islands, but "contour" will not approximate the missing points on my map. Thank you for your help in advance!
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 18 Apr. 2012
contourf(magic(5))
colormap([1 1 1]) %set the colormap to one level - white
3 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Contour Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!