Plot line with different axes in the same graph

3 ビュー (過去 30 日間)
Gioele
Gioele 2021 年 12 月 21 日
回答済み: Abhishek Kolla 2022 年 1 月 6 日
I have two data sets (each with three curves). I'd like to plot the 2 x three curves into the same image with two different y-axes, both on the left. I would like to have something similar to image here below, where on the left there are two y axis. Any advice?

回答 (1 件)

Abhishek Kolla
Abhishek Kolla 2022 年 1 月 6 日
Hi,
You can use addaxis function from file exchange to add multiple y-axes to the plots.
Also refer to this for more information on the steps to be followed for implementation.
Hope this helps.

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by