Help plotting satellite data?
20 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
更多回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geographic Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!