make a better map

조회 수: 1 (최근 30일)
Nurul Ain Basirah Zakaria
Nurul Ain Basirah Zakaria 2021년 4월 15일
댓글: Nurul Ain Basirah Zakaria 2021년 4월 17일
hi, how can i edit and change the colormap to make it better?
this is my script:
ax = axes();
Spi3=permute(New_freq,[2 3 1]);
pcolor(lon,lat,Spi3);
shading interp
thank you in advance!
  댓글 수: 2
DGM
DGM 2021년 4월 15일
It depends what you mean by "make it better". You can set the colormap using colormap(). There are a number of built-in colormaps, and there are many custom colormaps on the File Exchange. You can make your own or customize existing colormaps using colormapeditor().
Nurul Ain Basirah Zakaria
Nurul Ain Basirah Zakaria 2021년 4월 15일
how can I make this region more clearer? my data is matrix of 1x32x20.

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

채택된 답변

Bjorn Gustavsson
Bjorn Gustavsson 2021년 4월 15일
You should try:
shading flat
instead of the interp option. You will have to accept the fact that you only have data in a 32-by-20 matrix, that will limit the detail in regions with gradients and structure.
If you want much neater display you will have to gather data with higher resolution, if you're "lucky" you might get a bit neater presentation by interpolating the data to a finer grid - this implicitly makes the assumption that Spi3 varies according to the interpolation-method of your choise between the data points.
HTH
  댓글 수: 1
Nurul Ain Basirah Zakaria
Nurul Ain Basirah Zakaria 2021년 4월 17일
thank you very much sir!

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by