how to set colormap jet as a hard default in matlab (should stay for all figures even after restarting)
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Levito
el 23 de Feb. de 2020
all the figures I'm generating are shown in shades of blue/yellow instead of full rgb.
so far for each figure I have to set :
colormap jet
otherwise it goes back to "default".
for example, a 2d and 3d gaussian looks like that:
and 2d:
How can I have it automatically at rgb colors for all figures all the time (even after restarting MATLAB)?
thanks!
1 comentario
Respuesta aceptada
Walter Roberson
el 23 de Feb. de 2020
That is not possible in MATLAB. You could potentially set up a default colormap for the current session, and you could put instructions for that into startup.m so that it was processed most times that you started MATLAB. However, it is always possible to override or remove the startup.m file, so your requirement that the change be HARDWIRED cannot be met.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Colormaps 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!