plotxx.m
Version 1.0.0.0 (2.04 KB) by
Denis Gilbert
PLOTXX Create graphs with x axes on both top and bottom
PLOTXX Create graphs with x axes on both top and bottom
Similar to PLOTYY, but ... the independent variable is on the y-axis, and both dependent variables are on the x-axis.
For example, you may wish to plot temperature and salinity as a function of depth in the ocean. In the atmosphere, plot temperature and relative humidity as a function of altitude, etc.
Cite As
Denis Gilbert (2026). plotxx.m (https://www.mathworks.com/matlabcentral/fileexchange/317-plotxx-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R10
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
Acknowledgements
Inspired: BHM: Beautiful Heart Movie
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
