borders

Simply plot national and US state boundaries, with or without Matlab's Mapping Toolbox.
11K download
Aggiornato 20 feb 2020

Visualizza la licenza

* * * The functions on this page are no longer being updated. They should still work as shown in the examples here, but I am only actively maintaining the versions of these functions which are in the Climate Data Toolbox for MATLAB, which can be found here https://www.mathworks.com/matlabcentral/fileexchange/70338. * * *

This submission contains functions to plot the outlines and names of National borders and US states. Matlab's Mapping Toolbox is NOT required.

There are two functions for plotting: borders and bordersm, and they both work the same way, except that bordersm is for use with maps created using Matlab's Mapping Toolbox. Similarly, labelborders and labelbordersm place text labels within the boundaries of countries or states.

Cita come

Greene, Chad A., et al. “The Climate Data Toolbox for MATLAB.” Geochemistry, Geophysics, Geosystems, American Geophysical Union (AGU), July 2019, doi:10.1029/2019gc008392.

Visualizza più stili
Compatibilità della release di MATLAB
Creato con R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
3.1.3

Just adding a disclaimer that this version is no longer being maintained. Get CDT instead.

3.1.2

Updated live scripts

3.1.1

Added live scripts

3.1

Fixed a bug in bordersm, which previously resulted in an error when plotting multiple countries as patch objects.

3.0

Separated borders into two functions: Now, bordersm is the function to use with Matlab's Mapping Toolbox.

1.1.0.0

Now allows plotting national or state outlines as patch objects with or without the Mapping Toolbox.

1.0.0.0