您的位置:首页 > 编程语言 > Python开发

python basemap 中一些函数括号内值的含义与用法

2017-12-05 20:22 627 查看
官方网页:
http://matplotlib.org/basemap/api/basemap_api.html#mpl_toolkits.basemap.Basemap.contour
如:

contour
(x,
y, data, *args, **kwargs)
Make a contour plot over the map(see matplotlib.pyplot.contour documentation).

If
latlon
keyword is set to True, x,y are intrepreted aslongitude and latitude in degrees. Data and longitudes areautomatically shifted to match map projection region for cylindricaland pseudocylindrical
projections, and x,y are transformed to mapprojection coordinates. If
latlon
is False (default), x and yare assumed to be map projection coordinates.

Extra keyword
ax
can be used to override the default axis instance.

If
tri
is set to
True
, an unstructured grid is assumed(x,y,data must be 1-d) and matplotlib.pyplot.tricontour is used.

Other *args and **kwargs passed on to matplotlib.pyplot.contour(or tricontour if
tri=True
).
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: