![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1154678/image.png)
plot a map with irregular latitude and longitude
12 views (last 30 days)
Show older comments
Dear All,
I have data with lat (latitude), lon (longitude), and z, I want to draw a map. However the latitude and latitude of data are irregular.
0 Comments
Answers (1)
gmflores
on 13 Oct 2022
With geoscatter:
geoscatter(lat, lon, 50, z, 'filled');
geobasemap('topographic')
colorbar
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1154678/image.png)
0 Comments
See Also
Categories
Find more on Geographic Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!