Main Content

symbolm

Project point markers with variable size

Syntax

symbolm(lat,lon,z,'MarkerType')
symbolm(lat,lon,z,'MarkerType','PropertyName',PropertyValue,...)
h = symbolm(...)

Description

symbolm(lat,lon,z,'MarkerType') constructs a thematic map where the symbol size of each data point (lat, lon) is proportional to it weighting factor (z). The point corresponding to min(z) is drawn at the default marker size, and all other points are plotted with proportionally larger markers. MarkerType specifies the marker and optionally a color. For more information, see Markers and Colors.

symbolm(lat,lon,z,'MarkerType','PropertyName',PropertyValue,...) applies the line properties to all the symbols drawn.

h = symbolm(...) returns a vector of handles to the projected symbols. Each symbol is projected as an individual line object.

See also

stem3m, plotm, plot

More About

collapse all

Markers and Colors

Specify the marker and color as a character vector or string containing symbols. The symbols can appear in any order. You do not need to specify a color. For example, specify a red plus sign using 'r+'.

MarkerDescriptionResulting Marker
'o'Circle

Sample of circle marker

'+'Plus sign

Sample of plus sign marker

'*'Asterisk

Sample of asterisk marker

'.'Point

Sample of point marker

'x'Cross

Sample of cross marker

'_'Horizontal line

Sample of horizontal line marker

'|'Vertical line

Sample of vertical line marker

's'Square

Sample of square marker

'd'Diamond

Sample of diamond line marker

'^'Upward-pointing triangle

Sample of upward-pointing triangle marker

'v'Downward-pointing triangle

Sample of downward-pointing triangle marker

'>'Right-pointing triangle

Sample of right-pointing triangle marker

'<'Left-pointing triangle

Sample of left-pointing triangle marker

'p'Pentagram

Sample of pentagram marker

'h'Hexagram

Sample of hexagram marker

Color NameShort NameAppearance
'red''r'

Sample of the color red

'green''g'

Sample of the color green

'blue''b'

Sample of the color blue

'cyan' 'c'

Sample of the color cyan

'magenta''m'

Sample of the color magenta

'yellow''y'

Sample of the color yellow

'black''k'

Sample of the color black

'white''w'

Sample of the color white

Introduced before R2006a