|
|
| File Information |
| Description |
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 |
| Acknowledgements |
This submission has inspired the following:
Manchester
|
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (6) |
| 10 May 2005 |
Sander Stepanov
|
|
|
| 11 May 2005 |
Laurent Cavin
|
|
|
| 13 Jul 2005 |
Mikhail Kozlov
|
|
|
| 18 Nov 2005 |
Albert Von Würsteldorf
|
|
|
| 16 Apr 2007 |
Greg Fleizach
|
|
|
| 03 Jul 2008 |
Thierry Dalon
|
|
|
|
Contact us at files@mathworks.com