How can plot precipitation data with latitude longitude information? I have matrix of precipitation over the time,latitude and longitude all are in 470*160*140 dimensions.

4 次查看(过去 30 天)
How can plot precipitation data with latitude longitude information? I have matrix of precipitation over the time,latitude and longitude all are in 470*160*140 dimensions.
Thank you in advance!

采纳的回答

KSSV
KSSV 2020-10-18
Let lon, lat, P be your matrices of size 470*160*140.
[m,n,p] = size(P) ;
for i = 1:p
pcolor(lon(:,:,i),lat(:,:,i),P(:,:,i)) ;
shading interp
colorbar
drawnow
end
You can also use surf, contour, countourf.
  5 个评论

请先登录,再进行评论。

更多回答(1 个)

Ameer Hamza
Ameer Hamza 2020-10-18
For a specific time-value, the you can use several functions, such as contour(), contourf(), mesh(), surf(), pcolor() to plot the information. For example
M; % 470*160*140 matrix
contourf(squeeze(M(1,:,:))); %

类别

Help CenterFile Exchange 中查找有关 Animation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by