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 (2024). plotyy2 (https://www.mathworks.com/matlabcentral/fileexchange/7540-plotyy2), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Combine 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