Plot line with different axes in the same graph

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일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2021년 12월 21일

답변:

2022년 1월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by