How to plot a smooth color wheel?

9 visualizaciones (últimos 30 días)
Mr M.
Mr M. el 1 de Feb. de 2019
Comentada: db el 4 de Dic. de 2019
How to plot a smooth color wheel, like this?

Respuesta aceptada

Image Analyst
Image Analyst el 2 de Feb. de 2019
See my demo. Adapt as needed.
0000 Screenshot.png
  1 comentario
db
db el 4 de Dic. de 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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Blue en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by