Mapping Toolbox | ![]() ![]() |
Project a contour plot of map data
Syntax
c = contorm(lat,lon,map) c = contorm(lat,lon,map,LineType) c = contorm(lat,lon,map,PropertyName,PropertyValue,...) c = contorm(lat,lon,map,n,...) c = contorm(lat,lon,map,v,...) [c,h] = contorm(lat,lon,map,...)
Description
contorm(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.
contorm(map,maplegend) produces a contour plot of map data in a regular matrix map.
contorm(lat,lon,map,LineSpec
) uses any valid LineSpec string to draw the contour lines.
contorm(lat,lon,map,PropertyName
,PropertyValue,...) uses the line properties specified to draw the contours.
contorm(lat,lon,map,n,...) draws n contour levels, where n is a scalar.
contorm(lat,lon,map,v,...) draws contours at the levels specified by the input vector v.
contorm(map,maplegend,...) takes any of the optional arguments described above.
c = contorm(...) returns a standard contour matrix, with the first row representing longitude data and the second row represents latitude data.
[c,h] = contorm(...) returns the contour matrix and the handles to the contour lines drawn.
contorm, without any inputs, will activate a GUI to project contour lines onto the current map axes.
Examples
load topo axesm robinson; framem contorm(topo,topolegend)
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) |
contor3m |
Project a 3-D contour plot of map data |
![]() | contor3m | contourcmap | ![]() |