Myplotyy
Myplotyy plots different data sets with a common x-axis but using individual y-axes in one figure.
The properties of every curve (y-axis) can be individually adjusted, such as linear or logarithmic scale, normal or reverse scale, confidence intervals, colors, curve labeling, ...
See screenshot and run the example "myplotyy_example.m" included in the zip-file.
Cite As
Friedhelm Steinhilber (2026). Myplotyy (https://www.mathworks.com/matlabcentral/fileexchange/26550-myplotyy), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Labels and Styling > Labels and Annotations > Axis Labels >
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Two y-axis >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.7.0.0 | Fix of ylabel positions |
||
| 1.5.0.0 | The label on the right side is now at the correct position. |
||
| 1.4.0.0 | update of the description |
||
| 1.3.0.0 | updated description |
||
| 1.2.0.0 | fixed a problem considering the rotation of the y-labels. |
||
| 1.1.0.0 | now the function is also able to plot confidence intervals |
||
| 1.0.0.0 |
