How to graph an Oval on a geographical Map
10 次查看(过去 30 天)
显示 更早的评论
BLUF: I'm trying to graph an oval on a matlab map using something like geoscatter.
I have data for 6 points, each of these points has a latitude and longitude with each of these having a standard deviation (in miles) associated with them.
Also, the standard deviations are in units of miles also.
I may not be explaining it well enough but I am lost on how to proceed here.
0 个评论
回答(1 个)
Muskan
2023-3-20
Hi Aiden,
As per my understanding, you can use “ellipse1” function to get geographic ellipse from center, semimajor axis and eccentricity. One of the syntaxes is:
[lat,lon] = ellipse1(lat0,lon0,ellipse)
Using this you can plot the map and the oval using the “geoshow” function.
So, based on the provided parameters, the “ellipse1” function calculates the latitude and the longitude of the oval. Finally, the map and oval are plotted in the same figure using the “geoshow” function.
You may have a look at the following MATLAB documentation pages for reference:
I hope the above information will be helpful in resolving your query.
Cheers,
Muskan
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!