Now that we have moved to cartopy, we have split pages.
Basemap (ax =)
to draw a Basemap on the specified Axesmap1 = Basemap(projection='ortho', lon_0 = 0, lat_0 = 40, ax=ax1)
Convenient for linking with GridSpec
and subplot2grid
https://basemaptutorial.readthedocs.io/en/latest/subplots.html
Drawlsmask (land_color =, ocean_color =)
for land and sea fillsparallels = np.arange(0.,81,10.)
m.drawparallels(parallels,labels=[False,True,True,False])
meridians = np.arange(10.,351.,20.)
m.drawmeridians(meridians,labels=[True,False,False,True])
https://matplotlib.org/basemap/users/graticule.html
location ='bottom'
Basemap tutorial: Basemap utility functions
dashes
, but ...The 'dotted'
in matplotlib.pyplot
is closer.
linestyles =':', linewidth = 1.0
, which is almost the same as the latitude and longitude line of Basemap
.
https://stackoverflow.com/questions/54663882/setting-the-linestyle-for-the-longitude-and-latitude-lines-in-matplotlibs-basem
There is no title
method in Basemap
, but plt.title ()
is fine
https://stackoverflow.com/questions/9402151/how-do-i-add-a-title-to-my-matplotlib-basemap
Recommended Posts