Contour Plot in gray scale
25 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Namira
el 23 de Mayo de 2018
Comentada: Namira
el 23 de Mayo de 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 comentarios
Respuesta aceptada
Walter Roberson
el 23 de Mayo de 2018
Editada: Walter Roberson
el 23 de Mayo de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Contour Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!