How to make 0 value at center colorbar?
37 ビュー (過去 30 日間)
表示 古いコメント


Hi i'm trying to replicate the surf plot on the left, currently my background for the surf plot is orange due to 0 value (look at the surf colorbar).
How can i make the 0 at the center of the colorbar? (similar to the left picture)
採用された回答
Image Analyst
2020 年 2 月 29 日
I don't see a surf() plot. I see two images. Anyway to adjust the colorbar, use colormap() to create the colormap, and caxis() to say what value of your data should be at the top and bottom of the color bar.
その他の回答 (0 件)
参考
カテゴリ
Find more on Colormaps 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!