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 个评论

You can use subplot to create different axes (or axes). What does it mean for three axes to be in one graph?
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.
Is the x or y axis affected?

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Discrete Data 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