How to get brighter colors in a colormap?
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sim
el 1 de Feb. de 2021
Hi, I would like to change the three colors in the bluewhitered colormap, i.e. red, white and blue into fuchsia, silver and emerald green:
rgb('fuchsia','silver','emerald green')
bottom = [0 0 0.5]; % blue
botmiddle = [0 0.5 1];
middle = [1 1 1]; % white
topmiddle = [1 0 0];
top = [0.5 0 0]; % red
into:
bottom = [0.929411764705882 0.0509803921568627 0.850980392156863]; % fuchsia
botmiddle = ?
middle = [0.772549019607843 0.788235294117647 0.780392156862745]; % silver
topmiddle = ?
top = [0.00784313725490196 0.56078431372549 0.117647058823529]; % emerald green
but how can I change the brighter ones?, i.e.:
botmiddle = ?
topmiddle = ?
1 comentario
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Red 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!