How to graph an Oval on a geographical Map
조회 수: 5 (최근 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!