绘制格点数据的散点图,用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()
时间: 2024-10-09 16:56:20