matlab_map, a MATLAB code which uses MATLAB's mapping toolbox, for drawing maps of the world, various countries, or individual US states.


The computer code and data files described and made available on this web page are distributed under the MIT license


matlab_map is available in a MATLAB version.

Related Data and Programs:

cities, a MATLAB code which handles various problems associated with a set of "cities" on a map.

cities, a dataset directory which contains sets of data defining groups of cities.

florida_cvt_geo, MATLAB codes which explore the creation of a centroidal Voronoi Tessellation (CVT) of the state of Florida, based solely on geometric considerations.


  1. The Mathworks,
    Mapping Toolbox User's Guide, R2016a.

Examples and Tests:

CHESAPEAKE_BAY is an example from the Mapping Toolbox User's Guide, which draws the states around the Chesapeake Bay area.

FLORIDA_OUTLINE draws a map of the outline of Florida (no cities, no rivers, no neighboring states).

FLORIDA_SAMPLE draws a map of the outline of Florida, and then samples 100 points at random within that outline, using the polygonal representation of the state.

FLORIDA_VORONOI shows how, with a little work, MATLAB's lazy voronoi() command can be tricked into drawing a reasonable Voronoi diagram over a map of Florida created with the Mapping Toolbox.

Last revised on 24 June 2016.