Mapping Toolbox    
inputm

Select latitude and longitude coordinates using mouse

Syntax

Description

[lat,long] = inputm returns the latitude-longitude point of a mouse-selected point of the current map axes.

[lat,long] = inputm(npts) specifies the number of points, npts, to be mouse-selected.

[lat,long] = inputm(npts,hndl) specifies the handle of the map axes on which mouse selection is desired.

pts = inputm(npts) returns the points in a single, two-column output.

Remarks

inputm works much like the standard MATLAB ginput, except that the returned values are latitudes and longitudes extracted from the projection, rather than axes x-y coordinates.

See Also
gcpmap
Map current point
ginput
Request user input (see online MATLAB Function Reference)


  imbedm interpm