官方网页:
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
).