繪制格點資料的散點圖,用scaterm函數。
腳本程式:
f = addfile('D:/Temp/GrADS/model.ctl')
ps = f['PS'][0,(10,60),(60,140)]
axesm()
mlayer = shaperead('D:/Temp/map/country1.shp')
geoshow(mlayer, linecolor=(0,0,255))
layer = scatterm(ps)
title('Pressure')
colorbar(layer)
show()
轉載于:https://www.cnblogs.com/yaqiang/p/4586079.html