|
楼主 |
发表于 2022-9-19 21:31:09
|
显示全部楼层
ax1.set_xticks(np.linspace(-180, 180, 7))
ax1.set_xticks(np.arange(leftlon, rightlon, 10), minor = True, crs = tick_proj)
ax1.set_yticks(np.arange(lowerlat, upperlat + 10, 30), crs=tick_proj)
ax1.set_yticks(np.arange(lowerlat, upperlat, 10), minor = True, crs = tick_proj)
lon_formatter = cticker.LongitudeFormatter()
lat_formatter = cticker.LatitudeFormatter()
ax1.xaxis.set_major_formatter(lon_formatter)
ax1.yaxis.set_major_formatter(lat_formatter)
ax1.set_title('(a) SLP',loc='left',fontsize=15)
c1 = ax1.contour(lon, lat, slp ,levels=np.arange(-2.5, 2.5, 0.5),zorder=1, colors = 'k', transform=ccrs.PlateCarree())
ax1.clabel(c1, fontsize=12, fmt = '%.1f')
c2 = ax1.contour(lon, lat, slp,levels=0, colors='k',linewidths=2.3,linestyles='-',transform=ccrs.PlateCarree()) |
|