how to set colormap jet as a hard default in matlab (should stay for all figures even after restarting)
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Réponse acceptée
Walter Roberson
le 23 Fév 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Colormaps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!