How to define the geographic axes for multiple geoscatter data
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
NUR FATIN IRDINA ZULHAMIDI
am 10 Jun. 2021
Kommentiert: NUR FATIN IRDINA ZULHAMIDI
am 10 Jun. 2021
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/648510/image.png)
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 Kommentare
Akzeptierte Antwort
Max Heiken
am 10 Jun. 2021
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Geographic Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!