how to set colormap jet as a hard default in matlab (should stay for all figures even after restarting)
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Risposta accettata
Walter Roberson
il 23 Feb 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Colormaps in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!