필터 지우기
필터 지우기

Contour Plot in gray scale

조회 수: 27 (최근 30일)
Namira
Namira 2018년 5월 23일
댓글: Namira 2018년 5월 23일
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.

채택된 답변

Walter Roberson
Walter Roberson 2018년 5월 23일
편집: Walter Roberson 2018년 5월 23일
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.
  댓글 수: 1
Namira
Namira 2018년 5월 23일
Thanks. It's working.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by