Mapping Toolbox Previous page   Next Page
stem3m

Project a stem plot map on the current map axes

Syntax

h = stem3m(lat,lon,z) displays a stem plot on the current map axes. Stems are located at the points (lat,lon) and extend from an altitude of 0 to the values of z. The coordinate inputs should be in the same AngleUnits as the map axes. It is important to note that the selection of z-values will greatly affect the 3-D look of the plot. Regardless of AngleUnits, the x and y limits of the map axes are at most -pi to +pi and -pi/2 to +pi/2, respectively. This means that for most purposes, appropriate z values would be on the order of 1 to 3, not 10 to 30. The axes DataAspectRatio property can be used to adjust the appearance of the graphic. The handles of the displayed stem lines can be returned in h.

h = stem3m(lat,lon,z,LineType) allows the style of the stem plot's lines to be specified with any string LineType recognized by the MATLAB line function.

h = stem3m(lat,lon,z,PropertyName,PropertyValue,...) allows any property/value pair recognized by the MATLAB line function to be specified for the stems.

Description

A stem plot displays data as lines extending normal to the xy-plane, in this case, on a map.

Examples

See Also

scatterm
Thematic map with proportional symbols


Previous page  stdm str2angle Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS