How to change color settig for imagesc command?
59 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
josef vahab
am 17 Nov. 2015
Beantwortet: Walter Roberson
am 17 Nov. 2015
Hi everybody, I have wrote a program in MATLAB and when I execute my program on two different computers, the colors of the output figures are not the same, see the attached two figures. Does anyone knows how can I solve the problem? I am using two different versions of matlab. The first image (named CP1) is created by MATLAB 2012a and the second image (named CP2) is created by MATLAB 2012b. Thanks for your response.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 17 Nov. 2015
imagesc() makes use of the current colormap . You should choose a particular colormap to use, such as
colormap(hot(256))
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Display Image finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!