Contour Plot in gray scale
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Namira
am 23 Mai 2018
Kommentiert: Namira
am 23 Mai 2018
I would like to plot this contour figure in grayscale. I would like to represent higher values in dark shades. Can anyone give me the command to plot this figure? Thanks.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 23 Mai 2018
Bearbeitet: Walter Roberson
am 23 Mai 2018
colormap( flipud(gray(256)) )
gray(256) would normally be brighter for higher values, so you reverse the order of the colors to get darker for higher values.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Contour Plots 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!