File Exchange

image thumbnail

addy_axis

by Soc
Add multiple y-axes to a figure with full zoom, pan, and data cursor usage.

Updated 16 Jul 2020

A new take on plotting data across multiple y-axes in MATLAB. Creates a pair of visible/invisible axes: the invisible one is used to overlay data with the existing main axes, while the visible one is placed adjacent to the main axes to indicate the scale. Maintains zoom, pan, and data cursor functionality.

For usage, see addy_demo.m.

Inspired by yyaxis, plotyyy (https://www.mathworks.com/matlabcentral/fileexchange/1017-plotyyy), and addaxis (https://www.mathworks.com/matlabcentral/fileexchange/9016-addaxis).

Comments and Ratings (1)

Patrik Kovacik

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: addaxis, plotyyy

Community Treasure Hunt

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

Start Hunting!