Draw two figures with separate x and y axis
バージョン 1.0.0.0 (2.23 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 (2025). 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 |