How to plot a smooth color wheel?

조회 수: 8 (최근 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 CenterFile Exchange에서 Blue에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by