How to plot a smooth color wheel?

19 ビュー (過去 30 日間)
Mr M.
Mr M. 2019 年 2 月 1 日
コメント済み: db 2019 年 12 月 4 日
How to plot a smooth color wheel, like this?

採用された回答

Image Analyst
Image Analyst 2019 年 2 月 2 日
See my demo. Adapt as needed.
0000 Screenshot.png
  1 件のコメント
db
db 2019 年 12 月 4 日
Thanks for this!
How might you go about adapting this to use different colormaps? Specifically I'm trying to warp this colorwheel in such a way that dark blue and dark red end up on opposite sides of the circle, but it would also be cool to be able to specify a colormap like jet or autumn and plot that around the wheel. I've tried modifying a bunch of values, but either the colors get all messed up or the geometry of the wheel gets warped too. Any tips?
DB

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBlue についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by