How to define the geographic axes for multiple geoscatter data
조회 수: 4 (최근 30일)
이전 댓글 표시
NUR FATIN IRDINA ZULHAMIDI
2021년 6월 10일
댓글: NUR FATIN IRDINA ZULHAMIDI
2021년 6월 10일
Hi, I have plotted two geoscatter data but the data seems not overlap. Instead of overlap it plotted on the other side of map creating two maps. How can I make the data overlap? I've tried using geolimits but it didn't work.
댓글 수: 2
채택된 답변
Max Heiken
2021년 6월 10일
Hello, what an interesting issue.
One solution would be to wrap one of the longitudes around using modulo:
long = mod(SuperMAGstation.Var2 + 180, 360) - 180;
assuming of course that Var2 is in degrees. Otherwise replace 180 by pi and 360 by 2*pi.
추가 답변 (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!