Linked axis without linkaxes
显示 更早的评论
I have an installation of Matlab showing figures with subplots with linked axes (zooming in one subplot makes the other subplot to zoom in the same x values). The same script, run in another installation of matlab, does not link axes (zooming in one subplot, other subplots are not affected).
I know that linkaxes can be used for this purpose, but since the script is the same run in two different machine, there should be something else that may change the behaviour of the zoom in the axes. Any hint why one installation of matlab seems to have default x axes linked? Thanks Claudio
Additional informations--- The axes linked by default are x-axes of all subplots. Y are not linked. Linking Y axes is possible using linkaxes (and it works). Disabling linkaxes, disables only the y link, but x link is not disabled (so, the link seems not to come from linkaxes, but from somewhere else that I still could not identify )
采纳的回答
更多回答(1 个)
Walter Roberson
2012-3-19
Unexpected, but I would check
get(0,'Default')
and see if there is some strange default setting that might be causing this.
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!