Plotting spatial data in a global map
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I have a dataset of 555x3 Lat, Lon, and Biomass
The latitude and longitude are not evenly spaced and random
I would like to know how I can visualize on a map where the data falls on a global map with continents outlined. I don't want to see the value of the biomass, rather I would like to just see where on a global map I have data at in order to visualize the spatial expanse of my dataset.
I'm having trouble finding a matlab command that can easily accomplish this. Does anyone know what command meets my needs?
Thank you
0 个评论
采纳的回答
Chad Greene
2015-1-28
We'll call your data matrix data. Then
lat = data(:,1);
lon = data(:,2);
plot(lon,lat,'bp')
xlabel('longitude')
ylabel('latitude')
will put a blue star at every data point.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geographic Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!