Display set values on colorbar

I am plotting weather reflectivity data using contourf. I have it contoured in intervals of 5 from 5 to 60. Typically (as we know) the colorbar shows graduated colors, for example, extending from 5 to 10, 10 to 15, and so on. However, I want it to only display the colors for the contours I have plotted. In other words, only the color that represents 5, only the color that represents 10, etc. Is this possible? How would I go about doing this?

回答 (0 件)

この質問は閉じられています。

質問済み:

2013 年 2 月 28 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by