Misc Plot using Plotyy
Version 1.0.0.0 (1.33 KB) by
Math Lover
Modified plotyy command to plot more than two parameters on two axes.
This program plots four lines on two axes. The first two lines are plotted on left y-axis and the second two lines are plotted on right y-axis.
Cite As
Math Lover (2026). Misc Plot using Plotyy (https://www.mathworks.com/matlabcentral/fileexchange/26945-misc-plot-using-plotyy), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP3
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Labels and Styling > Axes Appearance > Combine Multiple Plots >
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Two y-axis >
Find more on Combine Multiple Plots in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
