How to graph an Oval on a geographical Map

6 views (last 30 days)
Aidan O'Neill
Aidan O'Neill on 1 Dec 2022
Answered: Muskan on 20 Mar 2023
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.

Answers (1)

Muskan
Muskan on 20 Mar 2023
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

Categories

Find more on Geographic Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!