Three y axis with one x axis

2 vues (au cours des 30 derniers jours)
Kashif Naukhez
Kashif Naukhez le 1 Mai 2024
Commenté : Torsten le 1 Mai 2024
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?
  2 commentaires
Liam
Liam le 1 Mai 2024
Modifié(e) : Torsten le 1 Mai 2024
Kashif Naukhez
Kashif Naukhez le 1 Mai 2024
No this is just the overlap of one plot over the other and is not serving my purpose.

Connectez-vous pour commenter.

Réponses (1)

Torsten
Torsten le 1 Mai 2024
  6 commentaires
Kashif Naukhez
Kashif Naukhez le 1 Mai 2024
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 le 1 Mai 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Graphics dans Help Center et File Exchange

Tags

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by