Project 2-D lines and points on map axes
plotm
is the mapping equivalent of the MATLAB®
plot
function.
plotm(
displays projected line objects on the current map axes. lat
,lon
)lat
and
lon
are the latitude and longitude coordinates, respectively,
of the line object to be projected. This ordering of latitude then longitude is
standard geographic usage. However, this ordering is conceptually reversed from the
MATLAB
line
function, in which the horizontal
(x) coordinate comes first.
plotm(
uses name-value pair arguments to specify any number of Line Properties except for
lat
,lon
,Name,Value)XData
, YData
, and
ZData
. Name
is the property name and
Value
is the corresponding value. Name
must appear inside single quotes (' '
). You can specify several
name and value pair arguments in any order as
Name1,Value1,...,NameN,ValueN
. Property names can be
abbreviated, and case does not matter.
returns a
handle to the displayed line.h
= plotm(___)