Help plotting satellite data?

조회 수: 19 (최근 30일)
Davin David
Davin David 2021년 10월 29일
댓글: Davin David 2021년 10월 29일
I'm plotting satellite data taken from an HDF5 file. The following are the parameters
latitude(51x2429) -> lat
longitude(51x2429) -> lon
longwave(51x2429) -> long
I'm using the following code
pcolor(lon,lat,long)
shading interp
colorbar
I get this image
This is what I want to get
I want to remove the bars

채택된 답변

millercommamatt
millercommamatt 2021년 10월 29일
geoshow(lat(:), lon(:), long(:),'DisplayType','ImageMap');
  댓글 수: 7
Walter Roberson
Walter Roberson 2021년 10월 29일
Sorry, I do not know much about mapping stuff.
Davin David
Davin David 2021년 10월 29일
No problem thanks for all the help.

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

추가 답변 (1개)

Walter Roberson
Walter Roberson 2021년 10월 29일
Your longitude data "wraps" at 360 degrees.
I speculate that the array starts at about 45 or 50 degrees, increases to 360 degrees, and wraps back to 0 degrees and continues upwards.
If geoshow() does not work for you, then you will need to circshift() your arrays to align them so that the longitude does not wrap back. Or else you need to add 360 to all longitude values after the wrap to get it to display properly.

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by