Mapping Toolbox | ![]() ![]() |
Project a contour plot of map data
Syntax
c = contourm(lat,lon,map) c = contourm(lat,lon,map,LineType) c = contourm(lat,lon,map,PropertyName,PropertyValue,...) c = contourm(lat,lon,map,n,...) c = contourm(lat,lon,map,v,...) [c,h] = contourm(lat,lon,map,...)
Description
contourm(lat,lon,map) produces a contour plot of map data projected onto the current map axes. The input latitude and longitude vectors can be the size of map (as in a general matrix map), or can specify the corresponding row and column dimensions for the map.
contourm(map,maplegend) produces a contour plot of map data in a regular matrix map.
contourm(lat,lon,map,LineSpec
) uses any valid LineSpec string to draw the contour lines.
contourm(lat,lon,map,PropertyName
,PropertyValue,...) uses the line properties specified to draw the contours.
contourm(lat,lon,map,n,...) draws n contour levels, where n is a scalar.
contourm(lat,lon,map,v,...) draws contours at the levels specified by the input vector v.
contourm(map,maplegend,...) takes any of the optional arguments described above.
c = contourm(...) returns a standard contour matrix, with the first row representing longitude data and the second row represents latitude data.
[c,h] = contourm(...) returns the contour matrix and the handles to the contour lines drawn.
contourm, without any inputs, will activate a GUI to project contour lines onto the current map axes.
Examples
See Also
clabelm |
Label a contour plot of map data |
clegendm |
Display a legend for a contour plot of map data |
contourc |
Contour computation (see online MATLAB Function Reference) |
contour3m |
Project a 3-D contour plot of map data |
![]() | contour3m | contourcmap | ![]() |