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

9 views (last 30 days)
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?

Accepted Answer

Stephen23
Stephen23 on 5 May 2023
Edited: Stephen23 on 5 May 2023
BORDERS is not inbuilt, it is a third-party function. You can download it here:

More Answers (0)

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!