How can I create three different axis?

Hello everyone,
I should plot three different quantities with three different axes in just one graph; how I can do it?
plot(gia_year.DateA, gia_year.Diff_Values,'g-^' ,'MarkerEdgeColor','k','MarkerFaceColor','g');
plot(gia_year.DateA, gia_year.year_values_w,'y-^' ,'MarkerEdgeColor','k','MarkerFaceColor','y')
plot(gia_year.DateA, gia_year.year_values_h,'k-^' ,'MarkerEdgeColor','k','MarkerFaceColor','k')
Thank you very much.

4 件のコメント

Voss
Voss 2021 年 10 月 20 日
You can use subplot to create different axes (or axes). What does it mean for three axes to be in one graph?
Pul
Pul 2021 年 10 月 20 日
I'm sorry, my question is not that clear. I have three different quantities in this graph (cm, % and knt) but I can't use the same axis for all of them, because the units of measurement are different.
Jan
Jan 2021 年 10 月 20 日
Is the x or y axis affected?
Pul
Pul 2021 年 10 月 21 日
y axis.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

質問済み:

Pul
2021 年 10 月 20 日

コメント済み:

Pul
2021 年 10 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by