Clear Filters
Clear Filters

Place value on globe at specific lat/lon

1 view (last 30 days)
Trying to identify a specific function for placing a value on a globe or worldmap at a lat/lon coordinate.

Accepted Answer

Chunru
Chunru on 2 Sep 2022
Is this what you mean for placing value
worldmap worl
load coastlines
plotm(coastlat, coastlon)
textm(45, 30, '123', 'Color', 'red')
  2 Comments
Peter
Peter on 2 Sep 2022
Thanks for the reply, what I am considering is how to place a temperature for say Tokyo on a globe. So I'm assuming I'd need to load an array of values onto a globe or worldmap object to display. Have seen several videos on displaying layers or animations with plotm or geoshow functions onto a map but nothing about specific text or variable contents at at a particular set of coordinates.
Peter
Peter on 2 Sep 2022
Thanks for the insight Chunru, textm is the ticket.

Sign in to comment.

More Answers (0)

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!