Azzera filtri
Azzera filtri

Use abslolute colormap scale.

2 visualizzazioni (ultimi 30 giorni)
Raldi il 23 Apr 2013
Hi everyone, I have a quick question. Lets assume that we have a two dimentional matrix and each of its values represents the temperature of that point in a rectangular plate. How can i plot that matrix so as values of 23 and below are plotted with a blue color and values of 47 and up are ploted in red. The inbetween values are plotted using gradiends of those colors just as the normal colormap would?

Risposta accettata

Iman Ansari
Iman Ansari il 23 Apr 2013
Modificato: Iman Ansari il 23 Apr 2013
imshow(f,[23 47])

Più risposte (0)


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!

Translated by