Linking geoaxes using linkprop
显示 更早的评论
I am trying to link together two geoaxes so that they both have the same axes limits and zoom. I have been able to do this with regular axes using linkaxes but this will not work for geoaxes. The following code does not produce any errors but the two axes are not linked.
geolink = linkprop([ax1 ax2], {'LatitiudeLimits', ...
'LongitudeLimits' ,'ZoomLevel'});
ax1.UserData = geolink;
ax2.UserData = geolink;
回答(1 个)
Amanjeet Pani
2022-7-13
0 个投票
As i understand your main aim is to link the 2 geoaxes
you can do this by using the inbuilt linkaxes() in matlab
1 个评论
Oleg S
2025-7-22
linkaxes() does not work on geoaxes, only on cartesian axes.
类别
在 帮助中心 和 File Exchange 中查找有关 Data Exploration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!