How to plot a smooth color wheel?

17 Ansichten (letzte 30 Tage)
Mr M.
Mr M. am 1 Feb. 2019
Kommentiert: db am 4 Dez. 2019
How to plot a smooth color wheel, like this?

Akzeptierte Antwort

Image Analyst
Image Analyst am 2 Feb. 2019
See my demo. Adapt as needed.
0000 Screenshot.png
  1 Kommentar
db
db am 4 Dez. 2019
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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by