MATLAB: 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.

ployying

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!

Best Answer

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.