Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据 Cartopy 文档,stock_img()只有一个(和默认)选项 - 自然地球阴影浮雕栅格的下采样版本。
stock_img()
如何使用底图显示此图像?
这是一个例子:
import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap ax = plt.gca() bmap = Basemap( projection='ortho', lat_0=45, lon_0=-100, resolution='l', ax=ax ) bmap.shadedrelief(scale=0.25) plt.show()