MeteoInfoLab脚本示例:格点数据散点图

绘制格点数据的散点图,用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