登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
from cartopy.mpl.ticker importLongitudeFormatter,LatitudeFormatter#专门提供的经纬度的Former ax1.set_xticks(x_extent,crs = ccrs.PlateCarree()) ax1.set_yticks(y_extent,crs =ccrs.PlateCarree()) lon_formatter =LongitudeFormatter(zero_direction_label=False) lat_formatter = LatitudeFormatter() ax1.xaxis.set_major_formatter(lon_formatter) ax1.yaxis.set_major_formatter(lat_formatter) gl1.xlabel_style = {'size':12} gl1.ylabel_style = {'size':12} #隐去自带的坐标 gl1.top_labels = False gl1.right_labels = False gl1.bottom_labels = False gl1.left_labels = False
出图形式见附件
|