Matlab 'borders' function not working. How to plot world map?

6 visualizaciones (últimos 30 días)
Hi!
I am trying to use an old code with the borders function to plot countries with different facecolors, but borders does not seem to work anymore. I have tried with and without the Mapping Toolbox, and I have tried the bordersm function as well.
I have tried using worldmap but cannot figure out how to plot country borders with it. Does anyone know?

Respuesta aceptada

Stephen23
Stephen23 el 5 de Mayo de 2023
Editada: Stephen23 el 5 de Mayo de 2023
BORDERS is not inbuilt, it is a third-party function. You can download it here:
  2 comentarios
Josefine Olsson
Josefine Olsson el 8 de Mayo de 2023
Fantastic, thank you so much!
Stephen23
Stephen23 el 9 de Mayo de 2023
@Josefine Olsson: if my answer helped please remember to click the "Accept this Answer" button.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by