python basemap 画出经纬度并标定
来源:互联网 发布:apache 访问权限 编辑:程序博客网 时间:2024/05/16 14:45
原网页:http://matplotlib.org/basemap/users/graticule.html两个函数:Basemap.drawparallels ##纬度 Basemap.drawmeridians ##经度from mpl_toolkits.basemap import Basemapimport matplotlib.pyplot as pltimport numpy as np# setup Lambert Conformal basemap.m = Basemap(width=12000000,height=9000000,projection='lcc', resolution='c',lat_1=45.,lat_2=55,lat_0=50,lon_0=-107.)# draw coastlines.m.drawcoastlines()# draw a boundary around the map, fill the background.# this background will end up being the ocean color, since# the continents will be drawn on top.m.drawmapboundary(fill_color='aqua')# fill continents, set lake color same as ocean color.m.fillcontinents(color='coral',lake_color='aqua')# draw parallels and meridians.# label parallels on right and top# meridians on bottom and leftparallels = np.arange(0.,81,10.)# labels = [left,right,top,bottom]m.drawparallels(parallels,labels=[False,True,True,False])meridians = np.arange(10.,351.,20.)m.drawmeridians(meridians,labels=[True,False,False,True])plt.show()
阅读全文
0 0
- python basemap 画出经纬度并标定
- python basemap 底图
- python basemap 画图案例
- python nc basemap
- 安装Python basemap包
- Python cartopy 使用地图工具,给出经纬度,画出受影响的中国省份
- python利用basemap叠加地图
- Fill Countries in Python Basemap
- python basemap 在地图标点
- basemap
- windows下Python安装basemap教程
- Python/Basemap绘制美国人口分布示意图
- windows下Python安装basemap教程
- window10下安装python basemap模块
- python 画中国地图环境搭建(basemap)
- python—networkx:求图的平均路径长度并画出直方图
- 根据 geoJson, 使用 d3 画出地图及经纬度打点
- 地理信息可视化——Python之matplotlib Basemap简介
- 第3章 System V IPC
- 数据库 ODBC与SQLSever2014连接
- shell
- 虚幻引擎开发多人游戏联机
- Android面试问题Activity
- python basemap 画出经纬度并标定
- 【Angular】table假分页
- 正则表达式
- leetcode 538. Convert BST to Greater Tree(反向中序遍历)
- 总结1_2:常见Unity特性
- IBM MQ两个队列管理器之间的通信
- I.MX RT1050 EVK开发板代码下载和调试
- win上模拟负载均衡
- POJ3525 Most Distant Point from the Sea 半平面交+二分答案+直线平移