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 )

2 件のコメント

Jan
Jan 2012 年 3 月 19 日
Does this concern the same or different Matlab versions?
Claudio
Claudio 2012 年 3 月 20 日
The strange thing is that the version of Matlab is same for both (7.5.0)

サインインしてコメントする。

 採用された回答

Claudio
Claudio 2012 年 4 月 5 日

0 投票

I think I found something finally. The matlab installation that have the "linkaxes" option enabled by default has several scripts installed included into the Matlab path. By disabling all the the path that are Matlab's defaults, the problem is solved. Now I just have to selectively disable each path until I don't find the exact responsible for the linked axes.

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 3 月 19 日

0 投票

Unexpected, but I would check
get(0,'Default')
and see if there is some strange default setting that might be causing this.

1 件のコメント

Claudio
Claudio 2012 年 3 月 20 日
Thanks, but nothing relevant found.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

製品

質問済み:

2012 年 3 月 19 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by