How can I create three different axis?

2 views (last 30 days)
Pul on 20 Oct 2021
Commented: Pul on 21 Oct 2021
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.

Sign in to comment.

Accepted Answer

Jan on 20 Oct 2021

More Answers (0)


Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!