Draw two figures with separate x and y axis
版本 1.0.0.0 (2.2 KB) 作者:
Nassim Khaled
This script plots two sets of 1D data on the same figure.
This script plots two sets of 1D data on the same figure with two separate axis and with the same gridding.
The code also checks if the x-axis data are the same, if the x-axis data
are not the same, it draws an additional x-axis on the top of the figure.
The two sets of data with their axes are drawn with two colors for ease of reading
引用格式
Nassim Khaled (2024). Draw two figures with separate x and y axis (https://www.mathworks.com/matlabcentral/fileexchange/31944-draw-two-figures-with-separate-x-and-y-axis), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2008a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Two y-axis >
在 Help Center 和 MATLAB Answers 中查找有关 Two y-axis 的更多信息
标签
致谢
启发作品: Fancy DualGraphs
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |