How to graph an Oval on a geographical Map

5 Ansichten (letzte 30 Tage)
Aidan O'Neill
Aidan O'Neill am 1 Dez. 2022
Beantwortet: Muskan am 20 Mär. 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.

Antworten (1)

Muskan
Muskan am 20 Mär. 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

Kategorien

Mehr zu Geographic Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by