Azzera filtri
Azzera filtri

how to set colormap jet as a hard default in matlab (should stay for all figures even after restarting)

4 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

Walter Roberson
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.

Più risposte (0)

Categorie

Scopri di più su Colormaps in Help Center e File Exchange

Prodotti


Release

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by