Three y axis with one x axis
Show older comments
I want to have a plot with two y axis on the left and one on the right with a common x axis for all. How can I do that?
Answers (1)
Torsten
on 1 May 2024
0 votes
6 Comments
Kashif Naukhez
on 1 May 2024
Kashif Naukhez
on 1 May 2024
Torsten
on 1 May 2024
Look at the x axis carefully. It is not sharing the common x axis.
In the link I gave, it did. So you must have done something wrong with the code.
Kashif Naukhez
on 1 May 2024
Torsten
on 1 May 2024
I don't know how you get an extra solid line for the left-most y-axis. For me, one solid line as produced by the code would suffice - only the colors and the different y-scales would matter for me.
Categories
Find more on Graphics 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!