plotyy2

バージョン 1.0.0.0 (1.48 KB) 作成者: Laurent Cavin
Simplify zooming of plotyy dual plots.
ダウンロード: 2.4K
更新 2005/4/28

ライセンスの表示

The command plotyy is handy, but the implementation (superposing two plots on top of each other) present some problems. One of them is zooming, which does apply to only the uppermost plot (see screenshot, second plot).

This issue is know, and has no solution according to Mathworks (see refs below).

To address this, plotyy2 is a simple hack that adds a resize custom function to the figure generated by plotyy. On resize, the two x axis will be synchronized (see third plot on screenshot).

This is a non-automatic workaround, as manually resizing the figure is required after a zoom...

Reference to problem:
Solution Number: 1-15WA9
http://www.mathworks.com/support/solutions/data/1-15WA9.html

引用

Laurent Cavin (2025). plotyy2 (https://www.mathworks.com/matlabcentral/fileexchange/7540-plotyy2), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R14
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCombine Multiple Plots についてさらに検索
謝辞

ヒントを与えたファイル: Manchester

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0