contourf change plot color
5 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Sean de Wolski
2012 年 4 月 18 日
contourf(magic(5))
colormap([1 1 1]) %set the colormap to one level - white
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Contour Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!