Mapping Toolbox    

Interacting with Displayed Maps

The Mapping Toolbox provides the means to interact with displayed maps. The inputm command allows you to get the latitude-longitude position of a mouse click; the gcpmap function returns the current mouse position, again in latitude and longitude. As an example, display a map axes with its grid. The lines of code below allow you to click on the map three times and store the geographic coordinates for the three points selected in lat and long. The final plotm command will plot the points you clicked on. The display shown here corresponds to the points chosen for the example:

Your points will probably be different.


  The Geographic Data Structure Interactive Tracks and Circles