Three y axis with one x axis

5 次查看(过去 30 天)
Kashif Naukhez
Kashif Naukhez 2024-5-1
评论: Torsten 2024-5-1
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?

回答(1 个)

Torsten
Torsten 2024-5-1
  6 个评论
Kashif Naukhez
Kashif Naukhez 2024-5-1
No @Torsten I did not do anything wrong. Fro the left most y axis, the y axis ticks are simply placed which does not look like an axis. It should have a vertical line representing it as an axis. So when I clicked on that axis, I got the y axis lik look (figure attached above) but the x axis is varying.
Torsten
Torsten 2024-5-1
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Axis Labels 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by